We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
]]
1 parent a420232 commit ee976d0Copy full SHA for ee976d0
Syntaxes/Lua.plist
@@ -698,7 +698,7 @@
698
<key>begin</key>
699
<string>(?<=--\[\[)([^-]|\-(?!\]\]))*$</string>
700
<key>while</key>
701
- <string>^[ \t]*-*(?!\]\])(?=([^-]|[-](?!\]\]))*$)</string>
+ <string>^[ \t]*-*(?![^\r\n]*\]\])</string>
702
<key>patterns</key>
703
<array>
704
<dict>
lua.tmLanguage.json
@@ -451,7 +451,7 @@
451
},
452
"comment_documentation_bracket": {
453
"begin": "(?<=--\\[\\[)([^-]|\\-(?!\\]\\]))*$",
454
- "while": "^[ \\t]*-*(?!\\]\\])(?=([^-]|[-](?!\\]\\]))*$)",
+ "while": "^[ \\t]*-*(?![^\\r\\n]*\\]\\])",
455
"patterns": [
456
{
457
"include": "#emmydoc"
0 commit comments