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.