Add nvim-navic

This commit is contained in:
Jona Löffler 2024-04-25 15:01:40 +02:00
parent 426548583b
commit 8851672e28
6 changed files with 422 additions and 3 deletions

View file

@ -79,9 +79,9 @@ M.on_attach = function(event)
end, '[T]oggle Inlay [H]ints')
end
-- if client.server_capabilities.documentSymbolProvider then
-- require('nvim-navic').attach(client, event.buf)
-- end
if client.server_capabilities.documentSymbolProvider then
require('nvim-navic').attach(client, event.buf)
end
end
return M