Skip to content

Commit 779c402

Browse files
dkwon17fbricon
authored andcommitted
Edit TextMate grammar to allow whitespaces before and after braces
Signed-off-by: David Kwon <[email protected]>
1 parent 9609653 commit 779c402

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

language-support/qute/qute.tmLanguage.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
},
4343
"section_start_tag": {
4444
"begin": "({)(#)(else\\sif|\\w+(\\.\\w+)*)",
45-
"end": "(\\/)?((?<![\\s\\\\])})",
45+
"end": "(\\/)?((?<![\\\\])})",
4646
"beginCaptures": {
4747
"1": {
4848
"name": "support.constant.handlebars"
@@ -70,7 +70,7 @@
7070
},
7171
"section_end_tag": {
7272
"begin": "({)(\\/)(\\w+(\\.\\w+)*)?\\s*",
73-
"end": "((?<![\\s\\\\])})",
73+
"end": "((?<![\\\\])})",
7474
"beginCaptures": {
7575
"1": {
7676
"name": "support.constant.handlebars"
@@ -94,7 +94,7 @@
9494
},
9595
"expression": {
9696
"begin": "((?<!\\\\){)(?![\\s!#@\\/])",
97-
"end": "((?<![\\s\\\\])})",
97+
"end": "((?<![\\\\])})",
9898
"beginCaptures": {
9999
"1": {
100100
"name": "support.constant.handlebars"

0 commit comments

Comments
 (0)