This PR extracts HTML support into an extension and removes the built-in HTML support from Zed. Release Notes: - Removed built-in support for HTML, in favor of making it available as an extension. The HTML extension will be suggested for download when you open a `.html`, `.htm`, or `.shtml` file.
16 lines
676 B
TOML
16 lines
676 B
TOML
name = "HTML"
|
|
grammar = "html"
|
|
path_suffixes = ["html", "htm", "shtml"]
|
|
autoclose_before = ">})"
|
|
block_comment = ["<!-- ", " -->"]
|
|
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 = true, newline = true, not_in = ["comment", "string"] },
|
|
{ start = "!--", end = " --", close = true, newline = false, not_in = ["comment", "string"] },
|
|
]
|
|
word_characters = ["-"]
|
|
prettier_parser_name = "html"
|