25 lines
615 B
Lua
25 lines
615 B
Lua
local test = function ()
|
|
return "test 123"
|
|
end
|
|
|
|
return {
|
|
"nvim-lualine/lualine.nvim",
|
|
dependencies = {
|
|
"RingOfStorms/lualine-lsp-progress",
|
|
},
|
|
opts = {
|
|
options = {
|
|
theme = "codedark",
|
|
section_separators = { left = '', right = '' },
|
|
component_separators = '|',
|
|
},
|
|
sections = {
|
|
lualine_a = {'mode'},
|
|
lualine_b = {'branch', 'diff', 'diagnostics'},
|
|
lualine_c = {'filename', "lsp_progress", test},
|
|
lualine_x = {'encoding', 'filetype', 'filesize'},
|
|
lualine_y = {'searchcount', 'selectioncount'},
|
|
lualine_z = {'location'},
|
|
},
|
|
},
|
|
}
|