2024-09-07 18:39:22 +00:00
|
|
|
local T = require('toolchain')
|
|
|
|
local M = {}
|
|
|
|
|
2024-09-07 23:50:39 +00:00
|
|
|
function M.setup()
|
2024-09-07 18:39:22 +00:00
|
|
|
T.add_highlighter_autoinstalls('sql')
|
|
|
|
T.add_lsp_autoinstalls('sqlls')
|
|
|
|
T.add_lsps(function(lspconfig, capabilities)
|
|
|
|
local config = { capabilities = capabilities }
|
|
|
|
lspconfig.sqlls.setup(config)
|
|
|
|
end)
|
|
|
|
end
|
|
|
|
|
|
|
|
return M
|