aboutsummaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.lua b/init.lua
index 72e4dd6..f906d68 100644
--- a/init.lua
+++ b/init.lua
@@ -226,7 +226,7 @@ end
local servers = { 'jedi_language_server', 'bashls', 'terraformls' }
-- Add additional capabilities supported by nvim-cmp
local capabilities = vim.lsp.protocol.make_client_capabilities()
-capabilities = require('cmp_nvim_lsp').update_capabilities(capabilities)
+capabilities = require('cmp_nvim_lsp').default_capabilities(capabilities)
-- Setup language servers
for _, lsp in ipairs(servers) do
nvim_lsp[lsp].setup {