nvimrc: Fix deprecated method

This commit is contained in:
Rob Watson 2023-01-11 07:27:22 +01:00
parent 7fc8896b35
commit 404d303368
1 changed files with 1 additions and 3 deletions

4
nvimrc
View File

@ -734,7 +734,7 @@ end
-- Go
local capabilities = vim.lsp.protocol.make_client_capabilities()
local capabilities = require('cmp_nvim_lsp').default_capabilities()
capabilities.textDocument.completion.completionItem.snippetSupport = true
capabilities.textDocument.completion.completionItem.resolveSupport = {
properties = {
@ -744,8 +744,6 @@ capabilities.textDocument.completion.completionItem.resolveSupport = {
}
}
require('cmp_nvim_lsp').update_capabilities(capabilities)
nvim_lsp.gopls.setup{
settings = {
gopls = {