summaryrefslogtreecommitdiff
path: root/lsp/html.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lsp/html.lua')
-rw-r--r--lsp/html.lua11
1 files changed, 11 insertions, 0 deletions
diff --git a/lsp/html.lua b/lsp/html.lua
new file mode 100644
index 0000000..f601246
--- /dev/null
+++ b/lsp/html.lua
@@ -0,0 +1,11 @@
+return {
+ cmd = { "vscode-html-language-server", "--stdio" },
+ filetypes = { "html" },
+ root_markers = { "package.json", ".git" },
+ single_file_support = true,
+ init_options = {
+ provideFormatter = true,
+ embeddedLanguages = { css = true, javascript = true },
+ configurationSection = { "html", "css", "javascript" },
+ },
+}