mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-22 00:49:03 +02:00
refactor(navic): move navic to ui
This commit is contained in:
parent
d74759de76
commit
bb388a28ff
2 changed files with 14 additions and 4 deletions
|
@ -287,6 +287,20 @@ return {
|
|||
end,
|
||||
},
|
||||
|
||||
-- lsp symbol navigation for lualine
|
||||
{
|
||||
"SmiteshP/nvim-navic",
|
||||
init = function()
|
||||
vim.g.navic_silence = true
|
||||
require("lazyvim.util").on_attach(function(client, buffer)
|
||||
if client.server_capabilities.documentSymbolProvider then
|
||||
require("nvim-navic").attach(client, buffer)
|
||||
end
|
||||
end)
|
||||
end,
|
||||
config = { separator = " ", highlight = true, depth_limit = 5 },
|
||||
},
|
||||
|
||||
-- icons
|
||||
"nvim-tree/nvim-web-devicons",
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue