diff options
Diffstat (limited to 'lua/nvim-lsp-installer/servers/jsonnet_ls/init.lua')
| -rw-r--r-- | lua/nvim-lsp-installer/servers/jsonnet_ls/init.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lua/nvim-lsp-installer/servers/jsonnet_ls/init.lua b/lua/nvim-lsp-installer/servers/jsonnet_ls/init.lua index acb24d9d..6ac0f995 100644 --- a/lua/nvim-lsp-installer/servers/jsonnet_ls/init.lua +++ b/lua/nvim-lsp-installer/servers/jsonnet_ls/init.lua @@ -1,5 +1,6 @@ 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 { @@ -8,7 +9,8 @@ return function(name, root_dir) homepage = "https://github.com/jdbaldry/jsonnet-language-server", installer = go.packages { "github.com/jdbaldry/jsonnet-language-server" }, default_options = { - cmd = { go.executable(root_dir, "jsonnet-language-server") }, + -- 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 |
