You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
return {
|
|
|
"nvim-lualine/lualine.nvim",
|
|
|
event = "VimEnter",
|
|
|
dependencies = {
|
|
|
'nvim-tree/nvim-web-devicons',
|
|
|
},
|
|
|
opts = {
|
|
|
extensions = { 'nvim-tree', 'fzf', 'symbols-outline' },
|
|
|
options = {
|
|
|
component_separators = '',
|
|
|
section_separators = { left = '', right = '' },
|
|
|
theme = 'auto',
|
|
|
globalstatus = true,
|
|
|
},
|
|
|
sections = {
|
|
|
-- would be nice to open code actions but w/e
|
|
|
lualine_b = {
|
|
|
{
|
|
|
'branch',
|
|
|
'diff',
|
|
|
},
|
|
|
},
|
|
|
lualine_c = {
|
|
|
{
|
|
|
'diagnostics',
|
|
|
sources = { 'nvim_diagnostic', 'nvim_lsp' },
|
|
|
sections = { 'hint', 'warn', 'error' },
|
|
|
colored = true,
|
|
|
update_in_insert = true,
|
|
|
always_visible = false,
|
|
|
}
|
|
|
},
|
|
|
lualine_x = { 'filetype' },
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
|