aboutsummaryrefslogtreecommitdiffstats
path: root/lua/nvim-lsp-installer/servers/hls/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/nvim-lsp-installer/servers/hls/init.lua')
-rw-r--r--lua/nvim-lsp-installer/servers/hls/init.lua5
1 files changed, 2 insertions, 3 deletions
diff --git a/lua/nvim-lsp-installer/servers/hls/init.lua b/lua/nvim-lsp-installer/servers/hls/init.lua
index 198df3e5..d1987b22 100644
--- a/lua/nvim-lsp-installer/servers/hls/init.lua
+++ b/lua/nvim-lsp-installer/servers/hls/init.lua
@@ -1,6 +1,6 @@
local server = require "nvim-lsp-installer.server"
local platform = require "nvim-lsp-installer.platform"
-local path = require "nvim-lsp-installer.path"
+local process = require "nvim-lsp-installer.process"
local installers = require "nvim-lsp-installer.installers"
local std = require "nvim-lsp-installer.installers.std"
local context = require "nvim-lsp-installer.installers.context"
@@ -30,9 +30,8 @@ return function(name, root_dir)
},
},
default_options = {
- cmd = { path.concat { root_dir, "haskell-language-server-wrapper" }, "--lsp" },
cmd_env = {
- PATH = table.concat({ root_dir, vim.env.PATH }, platform.path_sep),
+ PATH = process.extend_path { root_dir },
},
},
}