forked from nico/dots
46 lines
1.2 KiB
Lua
46 lines
1.2 KiB
Lua
return {
|
|
'nvim-lualine/lualine.nvim',
|
|
dependencies = { 'nvim-tree/nvim-web-devicons' },
|
|
config = function()
|
|
require('lualine').setup {
|
|
options = {
|
|
icons_enabled = true,
|
|
theme = 'auto',
|
|
component_separators = { left = '', right = ''},
|
|
section_separators = { left = ' ', right = ' '},
|
|
disabled_filetypes = {
|
|
statusline = {},
|
|
winbar = {},
|
|
},
|
|
ignore_focus = {},
|
|
always_divide_middle = true,
|
|
globalstatus = false,
|
|
refresh = {
|
|
statusline = 1000,
|
|
tabline = 1000,
|
|
winbar = 1000,
|
|
}
|
|
},
|
|
sections = {
|
|
lualine_a = {'mode'},
|
|
lualine_b = {},
|
|
lualine_c = {'filename', 'filetype'},
|
|
lualine_x = {'diff', 'diagnostics'},
|
|
lualine_y = {'branch'},
|
|
lualine_z = {'progress'}
|
|
},
|
|
inactive_sections = {
|
|
lualine_a = {'mode'},
|
|
lualine_b = {'branch'},
|
|
lualine_c = {'filename'},
|
|
lualine_x = {'fileformat', 'encoding', 'location'},
|
|
lualine_y = {},
|
|
lualine_z = {'progress'}
|
|
},
|
|
tabline = {},
|
|
winbar = {},
|
|
inactive_winbar = {},
|
|
extensions = {}
|
|
}
|
|
end
|
|
}
|