26 lines
559 B
Lua
26 lines
559 B
Lua
|
return {
|
||
|
"nvim-lualine/lualine.nvim",
|
||
|
config = function()
|
||
|
require("lualine").setup({
|
||
|
options = {
|
||
|
icons_enabled = false,
|
||
|
component_separators = "|",
|
||
|
section_separators = "",
|
||
|
},
|
||
|
sections = {
|
||
|
lualine_a = { "mode" },
|
||
|
lualine_b = { "branch", "diff", "diagnostics" },
|
||
|
lualine_c = {
|
||
|
"filename",
|
||
|
function()
|
||
|
return vim.fn["nvim_treesitter#statusline"](180)
|
||
|
end,
|
||
|
},
|
||
|
lualine_x = { "encoding", "fileformat", "filetype" },
|
||
|
lualine_y = { "progress" },
|
||
|
lualine_z = { "location" },
|
||
|
},
|
||
|
})
|
||
|
end,
|
||
|
}
|