Skip to content

Commit

Permalink
feat(languages): add superhtml as lsp for html (#11609)
Browse files Browse the repository at this point in the history
  • Loading branch information
RoloEdits authored Sep 30, 2024
1 parent 5ffd4ae commit 24f2429
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion book/src/generated/lang-support.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
| hocon |||| |
| hoon || | | |
| hosts || | | |
| html || | | `vscode-html-language-server` |
| html || | | `vscode-html-language-server`, `superhtml` |
| hurl |||| |
| hyprlang || || |
| idris | | | | `idris2-lsp` |
Expand Down
3 changes: 2 additions & 1 deletion languages.toml
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ solc = { command = "solc", args = ["--lsp"] }
sourcekit-lsp = { command = "sourcekit-lsp" }
svlangserver = { command = "svlangserver", args = [] }
swipl = { command = "swipl", args = [ "-g", "use_module(library(lsp_server))", "-g", "lsp_server:main", "-t", "halt", "--", "stdio" ] }
superhtml = { command = "superhtml", args = ["lsp"]}
tailwindcss-ls = { command = "tailwindcss-language-server", args = ["--stdio"] }
taplo = { command = "taplo", args = ["lsp", "stdio"] }
templ = { command = "templ", args = ["lsp"] }
Expand Down Expand Up @@ -841,7 +842,7 @@ scope = "text.html.basic"
injection-regex = "html"
file-types = ["html", "htm", "shtml", "xhtml", "xht", "jsp", "asp", "aspx", "jshtm", "volt", "rhtml", "cshtml"]
block-comment-tokens = { start = "<!--", end = "-->" }
language-servers = [ "vscode-html-language-server" ]
language-servers = [ "vscode-html-language-server", "superhtml" ]
auto-format = true
indent = { tab-width = 2, unit = " " }

Expand Down

0 comments on commit 24f2429

Please sign in to comment.