nvim config fix

This commit is contained in:
Rudis Muiznieks 2022-10-21 09:14:17 -05:00
parent 461f108794
commit 7eff5c89c8
Signed by: rudism
GPG Key ID: CABF2F86EF7884F9
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@ local lsp = require('lspconfig')
local util = lsp.util
local lspcap = require('cmp_nvim_lsp')
.update_capabilities(vim.lsp.protocol.make_client_capabilities())
.default_capabilities(vim.lsp.protocol.make_client_capabilities())
local lspatt = function(_, bufnr)
vim.api.nvim_buf_set_option(bufnr, 'omnifunc', 'v:lua.vim.lsp.omnifunc')
end