extensions: Add - as linked edit character for HTML (#43179)

Closes https://github.com/zed-industries/zed/issues/43060

Release Notes:

- Fixed issue where typing in custom HTML tag would not complete
subsequent end tag for `-` character.

Co-authored-by: Kunall Banerjee <hey@kimchiii.space>
This commit is contained in:
Smit Barmase
2025-11-20 22:35:24 +05:30
committed by GitHub
parent 5ef6402d64
commit a5c3267b3e
2 changed files with 8 additions and 0 deletions

View File

@@ -14,3 +14,6 @@ brackets = [
]
completion_query_characters = ["-"]
prettier_parser_name = "html"
[overrides.default]
linked_edit_characters = ["-"]

View File

@@ -1,2 +1,7 @@
(comment) @comment
(quoted_attribute_value) @string
[
(start_tag)
(end_tag)
] @default