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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
13 changed files with 173 additions and 75 deletions

View file

@ -16,12 +16,12 @@ brackets = [
]
word_characters = ["$", "#"]
tab_size = 2
scope_opt_in_language_servers = ["tailwindcss-language-server", "emmet-language-server"]
scope_opt_in_language_servers = ["tailwindcss-language-server","vscode-html-language-server", "emmet-language-server"]
[overrides.element]
line_comments = { remove = true }
block_comment = ["{/* ", " */}"]
opt_into_language_servers = ["emmet-language-server"]
opt_into_language_servers = ["emmet-language-server", "vscode-html-language-server"]
[overrides.string]
word_characters = ["-"]