fix(nvim): update to comply with breaking changes in plugins

This commit is contained in:
Price Hiller 2022-10-16 17:06:27 -05:00
parent d6f8206d8c
commit 35989d49a6
2 changed files with 918 additions and 912 deletions

View File

@ -14,7 +14,7 @@ local function on_attach(client, bufnr)
})
end
local lsp_capabilities = require("cmp_nvim_lsp").update_capabilities(vim.lsp.protocol.make_client_capabilities())
local lsp_capabilities = require("cmp_nvim_lsp").default_capabilities(vim.lsp.protocol.make_client_capabilities())
local opts = {
capabilities = lsp_capabilities,
on_attach = on_attach,
@ -159,11 +159,17 @@ lspconfig.ansiblels.setup({
})
-- NOTE: LUA LSP
local luadev = require("lua-dev").setup({
lspconfig = opts,
})
local luadev = require("neodev").setup({})
lspconfig.sumneko_lua.setup(luadev)
lspconfig.sumneko_lua.setup({
settings = {
Lua = {
completion = {
callSnippet = "Replace",
},
},
},
})
-- NOTE: SQL LSP
lspconfig.sqls.setup({

File diff suppressed because it is too large Load Diff