mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-09-06 02:11:33 +00:00
dev: improve nvim-navic and navbuddy loading logic
This commit is contained in:
parent
cd54a8f890
commit
f01d6c2949
2 changed files with 7 additions and 6 deletions
|
@ -49,16 +49,17 @@ in {
|
|||
lualine_z = ${cfg.inactiveSection.z},
|
||||
},
|
||||
tabline = {},
|
||||
|
||||
${optionalString (config.vim.ui.breadcrumbs.source == "nvim-navic") ''
|
||||
winbar = {
|
||||
lualine_c = {
|
||||
{
|
||||
"navic",
|
||||
color_correction = nil,
|
||||
navic_opts = nil,
|
||||
draw_empty = ${toString config.vim.ui.breadcrumbs.alwaysRender}
|
||||
}
|
||||
}
|
||||
},
|
||||
''}
|
||||
extensions = {${
|
||||
if (config.vim.filetree.nvimTreeLua.enable)
|
||||
then "\"nvim-tree\""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue