VoidVim/lua/config/plugins/lualine.lua

60 lines
1.3 KiB
Lua

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,
always_show_tabline = true,
globalstatus = true,
refresh = {
statusline = 100,
tabline = 100,
winbar = 100,
}
},
sections = {
lualine_a = {
{
function()
return ""
end,
padding = { left = 0, right = 0 },
color = {},
cond = nil,
},
},
lualine_b = {'branch'},
lualine_c = {'diff'},
lualine_x = {'encoding', 'filetype', 'diagnostics', 'lsp'},
lualine_y = {'progress'},
lualine_z = {'location'}
},
inactive_sections = {
lualine_a = {
{
function()
return ""
end,
padding = { left = 0, right = 0 },
color = {},
cond = nil,
},
},
lualine_b = {'branch'},
lualine_c = {'diff'},
lualine_x = {'encoding', 'filetype', 'diagnostics', 'lsp'},
lualine_y = {'progress'},
lualine_z = {'location'}
},
tabline = {},
winbar = {},
inactive_winbar = {},
extensions = {}
})