update lsp configuration to remove deprecation warning on nvim start

This commit is contained in:
Haak Saxberg 2023-05-23 13:49:18 -07:00
parent 8c9cf852b7
commit 4109528f05

View file

@ -151,15 +151,15 @@ nvim_lsp.tsserver.setup {
} }
} }
nvim_lsp.elixirls.setup { nvim_lsp.elixirls.setup {
cmd = { "elixir-ls" }; cmd = { "elixir-ls" },
} }
nvim_lsp.rnix.setup { nvim_lsp.rnix.setup {
cmd = { "@rnix_lsp@/bin/rnix-lsp" }; cmd = { "@rnix_lsp@/bin/rnix-lsp" },
} }
nvim_lsp.rust_analyzer.setup {} nvim_lsp.rust_analyzer.setup {}
nvim_lsp.sumneko_lua.setup { nvim_lsp.lua_ls.setup {
cmd = { "@lua_ls@/bin/lua-language-server" }; cmd = { "@lua_ls@/bin/lua-language-server" },
single_file_support = true, single_file_support = true,
flags = { flags = {
debounce_text_changes = 150, debounce_text_changes = 150,
@ -170,7 +170,7 @@ nvim_lsp.sumneko_lua.setup {
globals = { 'vim' } globals = { 'vim' }
} }
} }
}; },
} }
nvim_lsp.texlab.setup {} nvim_lsp.texlab.setup {}