chore(init): added lsp capabilities

This commit is contained in:
Juliano Barbosa 2024-08-23 06:51:42 -03:00
parent 63d5dd2856
commit 67a4497ae7
No known key found for this signature in database
GPG Key ID: EB8B440F57360B3D
1 changed files with 1 additions and 0 deletions

View File

@ -584,6 +584,7 @@ require('lazy').setup({
-- So, we create new capabilities with nvim cmp, and then broadcast that to the servers.
local capabilities = vim.lsp.protocol.make_client_capabilities()
capabilities = vim.tbl_deep_extend('force', capabilities, require('cmp_nvim_lsp').default_capabilities())
capabilities.textDocument.completion.completionItem.snippetSupport = true
-- Enable the following language servers
-- Feel free to add/remove any LSPs that you want here. They will automatically be installed.