config.nvim/lua/plugins/statusline.lua

28 lines
705 B
Lua
Raw Normal View History

2021-09-07 23:26:21 +08:00
require'lualine'.setup {
options = {
icons_enabled = true,
theme = 'auto',
2021-09-07 23:26:21 +08:00
component_separators = {'|', '|'},
section_separators = {'', ''},
disabled_filetypes = {}
},
sections = {
lualine_a = {'mode'},
lualine_b = {'branch'},
lualine_c = {'filename'},
lualine_x = {'encoding', 'fileformat', 'filetype'},
lualine_y = {'progress'},
lualine_z = {'location'}
},
inactive_sections = {
lualine_a = {},
lualine_b = {},
lualine_c = {'filename'},
lualine_x = {'location'},
lualine_y = {},
lualine_z = {}
},
tabline = {},
extensions = {}
}