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.
16 lines
677 B
TOML
16 lines
677 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 = false, newline = true, not_in = ["comment", "string"] },
|
|
{ start = "!--", end = " --", close = true, newline = false, not_in = ["comment", "string"] },
|
|
]
|
|
word_characters = ["-"]
|
|
prettier_parser_name = "html"
|