From 67a4497ae799c4f1f3a86495bd6269a04a7843f4 Mon Sep 17 00:00:00 2001 From: Juliano Barbosa Date: Fri, 23 Aug 2024 06:51:42 -0300 Subject: [PATCH] chore(init): added lsp capabilities --- init.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/init.lua b/init.lua index 0c824aeb..9657e7c7 100644 --- a/init.lua +++ b/init.lua @@ -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.