Skip to content

Commit

Permalink
Provide syntax coloration for #fragment
Browse files Browse the repository at this point in the history
See #563

Signed-off-by: azerr <azerr@redhat.com>
  • Loading branch information
angelozerr authored and datho7561 committed Jan 16, 2023
1 parent 9cacfa7 commit 6a22c75
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions language-support/qute/qute.tmLanguage.json
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@
"name": "string.unquoted.cdata.qute"
},
"section_start_default_tag": {
"begin": "({)(#)((each|else|eval|include|insert|set|let|with|switch|case|is|when)\\b)",
"begin": "({)(#)((each|else|eval|fragment|include|insert|set|let|with|switch|case|is|when)\\b)",
"end": "(\\/)?((?<![\\\\])})",
"beginCaptures": {
"1": {
Expand Down Expand Up @@ -157,7 +157,7 @@
]
},
"section_end_default_tag": {
"begin": "({)(\\/)((each|else|else\\sif|eval|for|if|include|insert|set|let|with|switch|case|is|when)\\b)",
"begin": "({)(\\/)((each|else|else\\sif|eval|for|fragment|if|include|insert|set|let|with|switch|case|is|when)\\b)",
"end": "((?<![\\\\])})",
"beginCaptures": {
"1": {
Expand Down

0 comments on commit 6a22c75

Please sign in to comment.