chore: move navic to the lsp extras module

This commit is contained in:
Mariano Z. 2024-12-26 13:25:40 -03:00
parent 2ffef85e64
commit 0a689a44a0
Signed by: marianozunino
GPG key ID: 4C73BAD25156DACE
3 changed files with 4 additions and 2 deletions

View file

@ -0,0 +1,20 @@
local M = {
"SmiteshP/nvim-navic",
}
M.config = function()
require("nvim-navic").setup({
icons = icons.kind,
highlight = true,
lsp = {
auto_attach = true,
},
click = true,
separator = " " .. icons.ui.ChevronRight .. " ",
depth_limit = 0,
depth_limit_indicator = "..",
})
vim.o.winbar = "%{%v:lua.require'nvim-navic'.get_location()%}"
end
return M