Delete sqls

This commit is contained in:
Kristofers Solo 2023-04-20 17:19:52 +03:00
parent b8ac76361c
commit eeae03f3a9
2 changed files with 0 additions and 21 deletions

View File

@ -2,7 +2,6 @@ local status_ok, mason = pcall(require, "mason")
if not status_ok then
return
end
local status_lspconfig_ok, lspconfig = pcall(require, "lspconfig")
if not status_lspconfig_ok then
return
@ -25,7 +24,6 @@ local servers = {
"lua_ls",
"phpactor",
"rust_analyzer",
"sqls",
"taplo",
"texlab",
"tsserver",
@ -80,11 +78,6 @@ for _, server in pairs(servers) do
opts = vim.tbl_deep_extend("force", texlab_opts, opts)
end
if server == "sqls" then
local sqls_opts = require("user.mason.settings.sqls")
opts = vim.tbl_deep_extend("force", sqls_opts, opts)
end
lspconfig[server].setup(opts)
::continue::
end

View File

@ -1,14 +0,0 @@
return {
on_attach = function(client, bufnr)
require("sqls").on_attach(client, bufnr)
end,
filetypes = {
"sql",
"mysql",
},
settings = {
sqls = {
connections = {},
},
},
}