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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user