html: Add support for autoclosing of tags (#11761)

Fixes #5267 
TODO:
- [x] Publish our fork of vscode-langservers-extracted on GH and wire
that through as a language server of choice for HTML extension.
- [x] Figure out how to prevent edits made by remote participants from
moving the cursor of a host.

Release Notes:

- Added support for autoclosing of HTML tags in local projects.
This commit is contained in:
Piotr Osiewicz
2024-05-20 17:00:27 +02:00
committed by GitHub
parent 097032327d
commit 0b8c1680fb
13 changed files with 173 additions and 75 deletions
+10 -1
View File
@@ -1,7 +1,7 @@
id = "html"
name = "HTML"
description = "HTML support."
version = "0.0.1"
version = "0.0.2"
schema_version = 1
authors = ["Isaac Clayton <slightknack@gmail.com>"]
repository = "https://github.com/zed-industries/zed"
@@ -9,6 +9,15 @@ repository = "https://github.com/zed-industries/zed"
[language_servers.vscode-html-language-server]
name = "vscode-html-language-server"
language = "HTML"
languages = ["TypeScript", "HTML", "TSX", "JavaScript", "JSDoc"]
[language_servers.vscode-html-language-server.language_ids]
"HTML" = "html"
"PHP" = "php"
"ERB" = "eruby"
"JavaScript" = "javascriptreact"
"TSX" = "typescriptreact"
"CSS" = "css"
[grammars.html]
repository = "https://github.com/tree-sitter/tree-sitter-html"