Add nvim-navic
This commit is contained in:
parent
426548583b
commit
8851672e28
6 changed files with 422 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue