mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-21 16:39:06 +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
|
@ -9,7 +9,6 @@ return {
|
|||
"mason.nvim",
|
||||
"williamboman/mason-lspconfig.nvim",
|
||||
"hrsh7th/cmp-nvim-lsp",
|
||||
"SmiteshP/nvim-navic",
|
||||
},
|
||||
---@type lspconfig.options
|
||||
servers = nil,
|
||||
|
@ -18,9 +17,6 @@ return {
|
|||
require("lazyvim.util").on_attach(function(client, buffer)
|
||||
require("lazyvim.plugins.lsp.format").on_attach(client, buffer)
|
||||
require("lazyvim.plugins.lsp.keymaps").on_attach(client, buffer)
|
||||
if client.server_capabilities.documentSymbolProvider then
|
||||
require("nvim-navic").attach(client, buffer)
|
||||
end
|
||||
end)
|
||||
|
||||
-- diagnostics
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue