blob: e816e3a3dbed3b8e272853990181eb62f8b5f64c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
local server = require "nvim-lsp-installer.server"
local go = require "nvim-lsp-installer.installers.go"
return function(name, root_dir)
return server.Server:new {
name = name,
root_dir = root_dir,
languages = { "sql" },
homepage = "https://github.com/lighttiger2505/sqls",
installer = go.packages { "github.com/lighttiger2505/sqls" },
default_options = {
cmd = { go.executable(root_dir, "sqls") },
},
}
end
|