2023-11-11 14:17:42 +00:00
|
|
|
require('lualine').setup {
|
|
|
|
options = {
|
|
|
|
icons_enabled = true,
|
|
|
|
theme = 'auto',
|
|
|
|
component_separators = { left = '', right = '' },
|
|
|
|
section_separators = { left = '', right = '' },
|
|
|
|
disabled_filetypes = {
|
2023-11-27 10:36:35 +00:00
|
|
|
statusline = {"NvimTree", "toggleterm"},
|
|
|
|
winbar = {"NvimTree", "toggleterm"},
|
2023-11-11 14:17:42 +00:00
|
|
|
},
|
|
|
|
ignore_focus = {},
|
|
|
|
always_divide_middle = true,
|
|
|
|
globalstatus = false,
|
|
|
|
refresh = {
|
|
|
|
statusline = 10,
|
|
|
|
tabline = 1000,
|
|
|
|
winbar = 1000,
|
|
|
|
}
|
|
|
|
},
|
|
|
|
sections = {
|
2023-11-27 10:36:35 +00:00
|
|
|
lualine_a = { 'fileformat', 'mode' },
|
2023-11-11 14:17:42 +00:00
|
|
|
lualine_b = { 'branch', 'diff', 'diagnostics' },
|
|
|
|
lualine_c = { 'filename' },
|
2023-11-27 10:36:35 +00:00
|
|
|
lualine_x = { 'filesize', 'filetype' },
|
2023-11-11 14:17:42 +00:00
|
|
|
lualine_y = { 'progress' },
|
|
|
|
lualine_z = { 'selectioncount', 'location' }
|
|
|
|
},
|
|
|
|
inactive_sections = {
|
2023-11-27 10:36:35 +00:00
|
|
|
lualine_a = { 'fileformat' },
|
|
|
|
lualine_b = { 'diff', 'diagnostics' },
|
2023-11-11 14:17:42 +00:00
|
|
|
lualine_c = { 'filename' },
|
2023-11-27 10:36:35 +00:00
|
|
|
lualine_x = { 'filesize', 'filetype'},
|
2023-11-11 14:17:42 +00:00
|
|
|
lualine_y = {},
|
2023-11-27 10:36:35 +00:00
|
|
|
lualine_z = { 'progress', 'location' }
|
2023-11-11 14:17:42 +00:00
|
|
|
},
|
|
|
|
tabline = {},
|
|
|
|
winbar = {},
|
|
|
|
inactive_winbar = {},
|
|
|
|
extensions = {}
|
|
|
|
}
|