Revert "syntax: Remove empty rules in regions"

This reverts commit a9b513a28a.
This commit is contained in:
Jöran Karl
2025-08-31 13:47:53 +02:00
parent b8057f28c6
commit 0277516eef
69 changed files with 138 additions and 0 deletions

View File

@@ -45,6 +45,7 @@ rules:
- constant.string:
start: "\\[\\["
end: "\\]\\]"
rules: []
# support first few lengths of "long brackets" explicitly
# brackets longer than that will give false positives
@@ -52,18 +53,22 @@ rules:
- constant.string:
start: "\\[=\\["
end: "\\]=\\]"
rules: []
- constant.string:
start: "\\[==\\["
end: "\\]==\\]"
rules: []
- constant.string:
start: "\\[===\\["
end: "\\]===\\]"
rules: []
- constant.string:
start: "\\[====+\\["
end: "\\]====+\\]"
rules: []
- comment.block:
start: "\\-\\-\\[\\["