blob: b9c20d42ca2c6321e6d808a365161c82c96a92ec (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
local server = require "nvim-lsp-installer.server"
local go = require "nvim-lsp-installer.installers.go"
local path = require "nvim-lsp-installer.path"
return function(name, root_dir)
return server.Server:new {
name = name,
root_dir = root_dir,
homepage = "https://github.com/jdbaldry/jsonnet-language-server",
installer = go.package "github.com/jdbaldry/jsonnet-language-server",
default_options = {
-- TODO: use env instead of cmd once https://github.com/neovim/nvim-lspconfig/pull/1559 is merged
cmd = { path.concat { root_dir, "jsonnet-language-server" } },
},
}
end
|