43 lines
1.2 KiB
Lua
43 lines
1.2 KiB
Lua
return {
|
|
"lualine.nvim",
|
|
for_cat = 'always',
|
|
-- cmd = { "" },
|
|
event = "DeferredUIEnter",
|
|
-- ft = "",
|
|
-- keys = "",
|
|
-- colorscheme = "",
|
|
after = function()
|
|
require('lualine').setup({
|
|
options = {
|
|
alwaysDivideMiddle = true,
|
|
icons_enabled = true,
|
|
component_separators = { left = '', right = '' },
|
|
section_separators = { left = '', right = '' },
|
|
},
|
|
inactive_sections = {
|
|
lualine_a = {},
|
|
lualine_b = {},
|
|
lualine_c = { "filename" },
|
|
lualine_x = { "filetype" },
|
|
lualine_y = {},
|
|
lualine_z = {},
|
|
},
|
|
sections = {
|
|
lualine_a = { "mode" },
|
|
lualine_b = { "branch", "diff", "diagnostics" },
|
|
lualine_c = { { "filename", path = 1 } },
|
|
lualine_x = { "encoding", "fileformat", "filetype" },
|
|
lualine_y = { "progress" },
|
|
lualine_z = { "location" },
|
|
},
|
|
tabline = {
|
|
lualine_a = { { "buffers", mode = 4 } },
|
|
lualine_b = {},
|
|
lualine_c = {},
|
|
lualine_x = {},
|
|
lualine_y = {},
|
|
lualine_z = { { "tabs", mode = 2 } }
|
|
},
|
|
})
|
|
end,
|
|
}
|