refactor(navic): move navic to ui

This commit is contained in:
Folke Lemaitre 2023-01-06 12:05:27 +01:00
parent d74759de76
commit bb388a28ff
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040
2 changed files with 14 additions and 4 deletions

View file

@ -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