From b5efb9d66cfb582eec0b96174d856c8f7e43d82c Mon Sep 17 00:00:00 2001 From: David Date: Fri, 8 Apr 2022 14:36:10 +0100 Subject: Add default language server for HTML (#2018) --- book/src/generated/lang-support.md | 2 +- languages.toml | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) 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]] -- cgit v1.2.3-70-g09d2