summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid2022-04-08 13:36:10 +0000
committerGitHub2022-04-08 13:36:10 +0000
commitb5efb9d66cfb582eec0b96174d856c8f7e43d82c (patch)
tree18e8f9c76b933dcaddb061e6a2ee5718d63ca37b
parent581ac5660fdb0ae5d0dfe2bc9fd95e0333b68c5c (diff)
Add default language server for HTML (#2018)
-rw-r--r--book/src/generated/lang-support.md2
-rw-r--r--languages.toml3
2 files changed, 4 insertions, 1 deletions
diff --git a/book/src/generated/lang-support.md b/book/src/generated/lang-support.md
index e8bb65e4..e6b5ccc5 100644
--- a/book/src/generated/lang-support.md
+++ b/book/src/generated/lang-support.md
@@ -23,7 +23,7 @@
| graphql | ✓ | | | |
| haskell | ✓ | | | `haskell-language-server-wrapper` |
| hcl | ✓ | | ✓ | `terraform-ls` |
-| html | ✓ | | | |
+| html | ✓ | | | `vscode-html-language-server` |
| iex | ✓ | | | |
| java | ✓ | | | |
| javascript | ✓ | | ✓ | `typescript-language-server` |
diff --git a/languages.toml b/languages.toml
index 2c6f0c9a..351fa4ac 100644
--- a/languages.toml
+++ b/languages.toml
@@ -348,6 +348,9 @@ scope = "text.html.basic"
injection-regex = "html"
file-types = ["html"]
roots = []
+language-server = { command = "vscode-html-language-server", args = ["--stdio"] }
+auto-format = true
+config = { "provideFormatter" = true }
indent = { tab-width = 2, unit = " " }
[[grammar]]