aboutsummaryrefslogtreecommitdiffstats
path: root/lua/nvim-lsp-installer/servers/html/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/nvim-lsp-installer/servers/html/init.lua')
-rw-r--r--lua/nvim-lsp-installer/servers/html/init.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/lua/nvim-lsp-installer/servers/html/init.lua b/lua/nvim-lsp-installer/servers/html/init.lua
index e6c4a814..7fce1c82 100644
--- a/lua/nvim-lsp-installer/servers/html/init.lua
+++ b/lua/nvim-lsp-installer/servers/html/init.lua
@@ -1,5 +1,4 @@
local server = require("nvim-lsp-installer.server")
-local path = require("nvim-lsp-installer.path")
local npm = require("nvim-lsp-installer.installers.npm")
local root_dir = server.get_server_root_path("html")
@@ -9,6 +8,6 @@ return server.Server:new {
root_dir = root_dir,
installer = npm.packages { "vscode-html-languageserver-bin" },
default_options = {
- cmd = { path.concat { root_dir, "node_modules", ".bin", "html-languageserver" }, "--stdio" },
+ cmd = { npm.executable(root_dir, "html-languageserver"), "--stdio" },
},
}