blob: d58e9353543dcdd5b97292e61e461d6802fc442d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
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,
installer = go.packages { "github.com/lighttiger2505/sqls" },
default_options = {
cmd = { go.executable(root_dir, "sqls") },
},
}
end
|