vim: Add HTML tag support for #4503 (#8175)

a simple code for html tag support, I've only done the basics, and if
it's okay, I'll optimize and organize the code, and adapt other parts
like `is_multiline`, `always_expands_both_ways`, `target_visual_mode`,
etc

---------

Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>
This commit is contained in:
Hans
2024-02-26 22:48:19 -07:00
committed by GitHub
co-authored by Conrad Irwin
parent a42b987929
commit f3fa3b910a
5 changed files with 123 additions and 6 deletions
+5
View File
@@ -31,6 +31,11 @@ impl VimTestContext {
Self::new_with_lsp(lsp, enabled)
}
pub async fn new_html(cx: &mut gpui::TestAppContext) -> VimTestContext {
Self::init(cx);
Self::new_with_lsp(EditorLspTestContext::new_html(cx).await, true)
}
pub async fn new_typescript(cx: &mut gpui::TestAppContext) -> VimTestContext {
Self::init(cx);
Self::new_with_lsp(