diff options
Diffstat (limited to 'lua/nvim-lsp-installer/servers/html/init.lua')
| -rw-r--r-- | lua/nvim-lsp-installer/servers/html/init.lua | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/lua/nvim-lsp-installer/servers/html/init.lua b/lua/nvim-lsp-installer/servers/html/init.lua new file mode 100644 index 00000000..8038ea5e --- /dev/null +++ b/lua/nvim-lsp-installer/servers/html/init.lua @@ -0,0 +1,14 @@ +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") + +return server.Server:new { + name = "html", + root_dir = root_dir, + install_cmd = npm.packages { "vscode-html-languageserver-bin" }, + default_options = { + cmd = { path.concat { root_dir, "node_modules", ".bin", "html-languageserver" }, "--stdio" }, + }, +} |
