Correctly handle [[ autoclosing in Markdown (#24662)

This commit is contained in:
Peter Tripp 2025-02-11 13:06:45 -05:00 committed by GitHub
parent 759ea0ec48
commit 7378ab9ba5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -3,6 +3,7 @@ grammar = "markdown"
path_suffixes = ["md", "mdx", "mdwn", "markdown", "MD"] path_suffixes = ["md", "mdx", "mdwn", "markdown", "MD"]
word_characters = ["-"] word_characters = ["-"]
block_comment = ["<!-- ", " -->"] block_comment = ["<!-- ", " -->"]
autoclose_before = "}])>"
brackets = [ brackets = [
{ start = "{", end = "}", close = true, newline = true }, { start = "{", end = "}", close = true, newline = true },
{ start = "[", end = "]", close = true, newline = true }, { start = "[", end = "]", close = true, newline = true },