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