nvim config fix
This commit is contained in:
parent
461f108794
commit
7eff5c89c8
|
@ -2,7 +2,7 @@ local lsp = require('lspconfig')
|
||||||
local util = lsp.util
|
local util = lsp.util
|
||||||
|
|
||||||
local lspcap = require('cmp_nvim_lsp')
|
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)
|
local lspatt = function(_, bufnr)
|
||||||
vim.api.nvim_buf_set_option(bufnr, 'omnifunc', 'v:lua.vim.lsp.omnifunc')
|
vim.api.nvim_buf_set_option(bufnr, 'omnifunc', 'v:lua.vim.lsp.omnifunc')
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue