mirror of
https://github.com/zed-industries/zed.git
synced 2026-05-28 01:24:17 +00:00
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>
19 lines
880 B
TOML
19 lines
880 B
TOML
name = "HTML"
|
|
grammar = "html"
|
|
path_suffixes = ["html", "htm", "shtml"]
|
|
autoclose_before = ">})"
|
|
block_comment = { start = "<!--", prefix = "", end = "-->", tab_size = 0 }
|
|
wrap_characters = { start_prefix = "<", start_suffix = ">", end_prefix = "</", end_suffix = ">" }
|
|
brackets = [
|
|
{ start = "{", end = "}", close = true, newline = true },
|
|
{ start = "[", end = "]", close = true, newline = true },
|
|
{ start = "(", end = ")", close = true, newline = true },
|
|
{ start = "\"", end = "\"", close = true, newline = false, not_in = ["comment", "string"] },
|
|
{ start = "<", end = ">", close = false, newline = true, not_in = ["comment", "string"] },
|
|
{ start = "!--", end = " --", close = true, newline = false, not_in = ["comment", "string"] },
|
|
]
|
|
completion_query_characters = ["-"]
|
|
prettier_parser_name = "html"
|
|
|
|
[overrides.default]
|
|
linked_edit_characters = ["-"]
|