Skip to content

Commit

Permalink
Fixed  #89 When to expression statements follows each other the secon…
Browse files Browse the repository at this point in the history
…d one is not colored by the text mate grammar.
  • Loading branch information
ylussaud committed Feb 21, 2024
1 parent d794341 commit e8c5e88
Showing 1 changed file with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -757,6 +757,9 @@
{
"include": "#statement-expression-tag-close"
},
{
"include": "#statement-expression-tag-double"
},
{
"include": "#statement-expression-expression"
}
Expand All @@ -768,10 +771,13 @@
},
"statement-expression-expression": {
"name": "meta.expression.aql",
"begin": "(?<=\\[)",
"end": "(?=/\\])"
"match": "(?<=\\[).*?(?=/\\])"
},
"statement-expression-tag-close": {
"name": "keyword.other.statement.expression.acceleo",
"match": "/\\]\\[(?!/)"
},
"statement-expression-tag-double": {
"name": "keyword.other.statement.expression.acceleo",
"match": "/\\]"
}
Expand Down

0 comments on commit e8c5e88

Please sign in to comment.