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
+2
View File
@@ -601,6 +601,7 @@ impl LanguageServer {
ResourceOperationKind::Delete,
]),
document_changes: Some(true),
snippet_edit_support: Some(true),
..WorkspaceEditClientCapabilities::default()
}),
..Default::default()
@@ -712,6 +713,7 @@ impl LanguageServer {
}
}),
locale: None,
..Default::default()
};
cx.spawn(|_| async move {