sumenkolua got deprecated

This commit is contained in:
Kristofers Solo 2023-02-25 22:56:55 +02:00
parent 1494aa33e7
commit 35bc6a98d3
2 changed files with 4 additions and 6 deletions

View File

@ -37,7 +37,7 @@ local servers = {
-- "pyright", -- "pyright",
"jedi_language_server", "jedi_language_server",
"rust_analyzer", "rust_analyzer",
"sumneko_lua", "lua_ls",
"taplo", "taplo",
"texlab", "texlab",
"tsserver", "tsserver",
@ -78,11 +78,6 @@ for _, server in pairs(servers) do
capabilities = require("user.mason.handlers").capabilities, capabilities = require("user.mason.handlers").capabilities,
} }
if server == "sumneko_lua" then
local sumneko_opts = require("user.mason.settings.sumneko_lua")
opts = vim.tbl_deep_extend("force", sumneko_opts, opts)
end
-- if server == "jedi_language_server" then -- if server == "jedi_language_server" then
-- local pyright_opts = require("user.mason.settings.jedi") -- local pyright_opts = require("user.mason.settings.jedi")
-- opts = vim.tbl_deep_extend("force", pyright_opts, opts) -- opts = vim.tbl_deep_extend("force", pyright_opts, opts)
@ -96,6 +91,9 @@ for _, server in pairs(servers) do
-- if server == "html" then -- if server == "html" then
-- local html_opts = require("user.mason.settings.html") -- local html_opts = require("user.mason.settings.html")
-- opts = vim.tbl_deep_extend("force", html_opts) -- opts = vim.tbl_deep_extend("force", html_opts)
-- if server == "lua_ls" then
-- local lua_ls_opts = require("user.mason.settings.lua_ls")
-- opts = vim.tbl_deep_extend("force", lua_ls_opts, opts)
-- end -- end
if server == "rust_analyzer" then if server == "rust_analyzer" then