refactor(lsp): refactored again :)

This commit is contained in:
Folke Lemaitre 2024-05-20 20:25:55 +02:00
parent 0006fe7a3c
commit 3db94e44a0
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040
2 changed files with 36 additions and 34 deletions

View file

@ -121,7 +121,7 @@ return {
require("lazyvim.plugins.lsp.keymaps").on_attach(client, buffer)
end)
LazyVim.lsp.setup_dynamic_capability()
LazyVim.lsp.setup()
LazyVim.lsp.on_dynamic_capability(require("lazyvim.plugins.lsp.keymaps").on_attach)
LazyVim.lsp.words.setup(opts.document_highlight)