Dotfiles_nvim/lua/toolchain/database.lua
2024-09-08 01:50:39 +02:00

13 lines
307 B
Lua

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