aboutsummaryrefslogtreecommitdiffstats
path: root/lua/nvim-lsp-installer/servers/html.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/nvim-lsp-installer/servers/html.lua')
-rw-r--r--lua/nvim-lsp-installer/servers/html.lua12
1 files changed, 12 insertions, 0 deletions
diff --git a/lua/nvim-lsp-installer/servers/html.lua b/lua/nvim-lsp-installer/servers/html.lua
new file mode 100644
index 00000000..36acc429
--- /dev/null
+++ b/lua/nvim-lsp-installer/servers/html.lua
@@ -0,0 +1,12 @@
+local server = require('nvim-lsp-installer.server')
+
+local root_dir = server.get_server_root_path('html')
+
+return server.Server:new {
+ name = "html",
+ root_dir = root_dir,
+ install_cmd = [[npm install vscode-html-languageserver-bin]],
+ default_options = {
+ cmd = { root_dir .. '/node_modules/.bin/html-languageserver', '--stdio' },
+ },
+}