aboutsummaryrefslogtreecommitdiffstats
path: root/lua
diff options
context:
space:
mode:
authormandlm <mandlm@users.noreply.github.com>2022-04-26 13:53:02 +0200
committerGitHub <noreply@github.com>2022-04-26 13:53:02 +0200
commit7bbc1237b7b60c19b6db31dbf62f0ae26be8b481 (patch)
tree774caf8b1d70bcdefdf8061d135de13c7536b478 /lua
parentfix(ccls): pcall removal of llvm (#628) (diff)
downloadmason-7bbc1237b7b60c19b6db31dbf62f0ae26be8b481.tar
mason-7bbc1237b7b60c19b6db31dbf62f0ae26be8b481.tar.gz
mason-7bbc1237b7b60c19b6db31dbf62f0ae26be8b481.tar.bz2
mason-7bbc1237b7b60c19b6db31dbf62f0ae26be8b481.tar.lz
mason-7bbc1237b7b60c19b6db31dbf62f0ae26be8b481.tar.xz
mason-7bbc1237b7b60c19b6db31dbf62f0ae26be8b481.tar.zst
mason-7bbc1237b7b60c19b6db31dbf62f0ae26be8b481.zip
fix(terraformls): use `root-dir` instead of `root-dir/terraform-ls` as cmd path (#630)
Diffstat (limited to 'lua')
-rw-r--r--lua/nvim-lsp-installer/servers/terraformls/init.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/lua/nvim-lsp-installer/servers/terraformls/init.lua b/lua/nvim-lsp-installer/servers/terraformls/init.lua
index bf9e6cb5..4cc26162 100644
--- a/lua/nvim-lsp-installer/servers/terraformls/init.lua
+++ b/lua/nvim-lsp-installer/servers/terraformls/init.lua
@@ -1,6 +1,5 @@
local server = require "nvim-lsp-installer.server"
local process = require "nvim-lsp-installer.process"
-local path = require "nvim-lsp-installer.path"
local platform = require "nvim-lsp-installer.platform"
local Data = require "nvim-lsp-installer.data"
local github = require "nvim-lsp-installer.core.managers.github"
@@ -45,7 +44,7 @@ return function(name, root_dir)
end,
default_options = {
cmd_env = {
- PATH = process.extend_path { path.concat { root_dir, "terraform-ls" } },
+ PATH = process.extend_path { root_dir },
},
},
}