mirror of
https://github.com/kristoferssolo/SoloVim.git
synced 2025-10-21 20:10:41 +00:00
Delete sqls
This commit is contained in:
parent
b8ac76361c
commit
eeae03f3a9
@ -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
|
||||
|
||||
@ -1,14 +0,0 @@
|
||||
return {
|
||||
on_attach = function(client, bufnr)
|
||||
require("sqls").on_attach(client, bufnr)
|
||||
end,
|
||||
filetypes = {
|
||||
"sql",
|
||||
"mysql",
|
||||
},
|
||||
settings = {
|
||||
sqls = {
|
||||
connections = {},
|
||||
},
|
||||
},
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user