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-12-29 15:52:19 +00:00
|
|
|
statusline = {"NvimTree", "toggleterm", "Trouble"},
|
|
|
|
winbar = {"NvimTree", "toggleterm", "Trouble"},
|
2023-11-11 14:17:42 +00:00
|
|
|
},
|
|
|
|
ignore_focus = {},
|
|
|
|
always_divide_middle = true,
|
|
|
|
globalstatus = false,
|
|
|
|
refresh = {
|
|
|
|
statusline = 10,
|
|
|
|
tabline = 1000,
|
|
|
|
winbar = 1000,
|
|
|
|
}
|
|
|
|
},
|
|
|
|
sections = {
|
2024-03-03 00:00:41 +00:00
|
|
|
-- lualine_a = { 'fileformat', 'mode' },
|
|
|
|
lualine_a = { 'mode' },
|
2023-11-11 14:17:42 +00:00
|
|
|
lualine_b = { 'branch', 'diff', 'diagnostics' },
|
2023-12-11 23:33:21 +00:00
|
|
|
lualine_c = { 'filename', 'aerial' },
|
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 = {}
|
|
|
|
}
|