diff --git a/nvim/lua/psoxizsh/plugins/config/lspconfig.lua b/nvim/lua/psoxizsh/plugins/config/lspconfig.lua index 9ee1965..9207b32 100644 --- a/nvim/lua/psoxizsh/plugins/config/lspconfig.lua +++ b/nvim/lua/psoxizsh/plugins/config/lspconfig.lua @@ -10,9 +10,7 @@ return function() end -- Update LSP capabilities we send to servers to include the features supported by nvim-cmp - defaults.capabilities = cmp.update_capabilities(lspconfig.util.default_config.capabilities) - -- Dependent on a snippet manager in nvim-cmp (currently using vsnip) - defaults.capabilities.textDocument.completion.completionItem.snippetSupport = true + defaults.capabilities = cmp.default_capabilities() -- Ideally, this would be registered on some Psoxizsh.Plug.Post autocmd -- but I don't feel like refactoring psoxizsh.plugin now.