From 8d709477bf5c6120eb764fe09c008a8df0f3731c Mon Sep 17 00:00:00 2001 From: Stefano Volpe Date: Mon, 17 Oct 2022 09:25:04 +0200 Subject: [PATCH] Actually use default_capabilities Ref hrsh7th/cmp-nvim-lsp#38 --- lua/visimp/layers/cmp.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/visimp/layers/cmp.lua b/lua/visimp/layers/cmp.lua index 9e49c7d..b4e1128 100644 --- a/lua/visimp/layers/cmp.lua +++ b/lua/visimp/layers/cmp.lua @@ -84,7 +84,7 @@ function L.preload() if L.config.lsp then vim.cmd('packadd cmp-nvim-lsp') loader.get('lsp').on_capabilities( - get_module('cmp_nvim_lsp').update_capabilities() + get_module('cmp_nvim_lsp').default_capabilities() ) end end