aboutsummaryrefslogtreecommitdiffstats
path: root/lua/nvim-lsp-installer/servers/clojure_lsp/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/nvim-lsp-installer/servers/clojure_lsp/init.lua')
-rw-r--r--lua/nvim-lsp-installer/servers/clojure_lsp/init.lua6
1 files changed, 4 insertions, 2 deletions
diff --git a/lua/nvim-lsp-installer/servers/clojure_lsp/init.lua b/lua/nvim-lsp-installer/servers/clojure_lsp/init.lua
index 3b822b9b..c1c9cde4 100644
--- a/lua/nvim-lsp-installer/servers/clojure_lsp/init.lua
+++ b/lua/nvim-lsp-installer/servers/clojure_lsp/init.lua
@@ -1,5 +1,5 @@
local server = require "nvim-lsp-installer.server"
-local path = require "nvim-lsp-installer.path"
+local process = require "nvim-lsp-installer.process"
local std = require "nvim-lsp-installer.installers.std"
local context = require "nvim-lsp-installer.installers.context"
local Data = require "nvim-lsp-installer.data"
@@ -26,7 +26,9 @@ return function(name, root_dir)
std.chmod("+x", { "clojure-lsp" }),
},
default_options = {
- cmd = { path.concat { root_dir, "clojure-lsp" } },
+ cmd_env = {
+ PATH = process.extend_path { root_dir },
+ },
},
}
end