14 lines
309 B
Lua
14 lines
309 B
Lua
|
local T = require('toolchain')
|
||
|
local M = {}
|
||
|
|
||
|
M.setup = function()
|
||
|
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
|