Skip to content

Commit

Permalink
Remove \G when used in end, while
Browse files Browse the repository at this point in the history
Closes GH-6.
  • Loading branch information
wooorm committed Oct 26, 2023
1 parent faf5e0d commit c63436f
Show file tree
Hide file tree
Showing 5 changed files with 431 additions and 431 deletions.
10 changes: 5 additions & 5 deletions grammar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ repository:
- include: '#markdown-sections'
name: markup.quote.var(suffix)
# 👉 **Note**: This grammar does not support lazy lines.
while: var(before)(>)[ ]?
while: (>)[ ]?
whileCaptures:
0:
name: markup.quote.var(suffix)
Expand Down Expand Up @@ -397,7 +397,7 @@ repository:
patterns:
- include: '#markdown-string'
contentName: markup.raw.code.fenced.var(suffix)
end: var(before)(\1)var(after)
end: (\1)var(after)
endCaptures:
1:
name: string.other.end.code.fenced.var(suffix)
Expand All @@ -415,7 +415,7 @@ repository:
patterns:
- include: '#markdown-string'
contentName: markup.raw.code.fenced.var(suffix)
end: var(before)(\1)var(after)
end: (\1)var(after)
endCaptures:
1:
name: string.other.end.code.fenced.var(suffix)
Expand Down Expand Up @@ -1231,7 +1231,7 @@ repository:
name: string.other.end.directive.attributes.var(suffix)
patterns:
- include: '#markdown-sections'
end: var(before)(\1)var(after)
end: (\1)(:{3,})var(after)
endCaptures:
1:
name: string.other.end.directive.var(suffix)
Expand Down Expand Up @@ -1401,7 +1401,7 @@ repository:
# contentName: meta.embedded.latex
# patterns:
# - include: text.tex.latex
end: var(before)(\1)var(after)
end: (\1)var(after)
endCaptures:
1:
name: string.other.end.math.flow.var(suffix)
Expand Down
Loading

0 comments on commit c63436f

Please sign in to comment.