Skip to content

Commit

Permalink
Add default language server for HTML (helix-editor#2018)
Browse files Browse the repository at this point in the history
  • Loading branch information
David-Else authored Apr 8, 2022
1 parent 581ac56 commit b5efb9d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion book/src/generated/lang-support.md
Original file line number Diff line number Diff line change
Expand Up @@ -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` |
Expand Down
3 changes: 3 additions & 0 deletions languages.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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]]
Expand Down

0 comments on commit b5efb9d

Please sign in to comment.