modify configuration for lualine, show more info

This commit is contained in:
leafee98 2023-12-14 20:42:44 +08:00
parent 8ac25e0bc4
commit e3df1c2a03

View file

@ -66,7 +66,24 @@ return {
},
main = "lualine",
event = "VeryLazy",
opts = { },
opts = {
sections = {
lualine_a = {'mode'},
lualine_b = {'branch', 'diff', 'diagnostics'},
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 = {'encoding', 'fileformat', 'filetype'},
lualine_y = {'progress'},
lualine_z = {'location'}
}
},
init = function(_)
vim.o.mousemoveevent = true
end,