File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 15741574 "include" : " #subshell_dollar"
15751575 },
15761576 {
1577- "begin" : " (?<![^ \\ t])({)" ,
1577+ "begin" : " (?<![^ \\ t])({)(?! \\ w| \\ $) " ,
15781578 "end" : " }" ,
15791579 "beginCaptures" : {
15801580 "1" : {
Original file line number Diff line number Diff line change @@ -45,4 +45,26 @@ for profile_target in "${PROFILE_TARGETS[@]}"; do
4545 else
4646 passed_check " $profile_target$PROFILE_BACKUP_SUFFIX does not exist yet"
4747 fi
48- done
48+ done
49+
50+ #! /bin/bash
51+
52+ echo " Works 1"
53+ ( TEST=$( echo {1..10}) ; echo " $TEST " )
54+
55+ echo " Works 2"
56+ ( TEST=" $( echo {1..10}) " ; echo " $TEST " )
57+
58+ echo " Works 3"
59+ ( TEST=$( for i in {1..10}; do echo $i ; done) ; echo " $TEST " )
60+
61+ echo " Works 4"
62+ ( TEST=" $( for i in $( echo {1..10}) ; do echo $i ; done) " ; echo " $TEST " )
63+
64+ echo " Works 5"
65+ ( TEST=" $( echo {1..10} | while read line; do echo $line ; done)" ; echo " $TEST " )
66+
67+ echo " Syntax Highlighting Broken"
68+ ( TEST=" $( for i in {1..10}; do echo $i ; done) " ; echo " $TEST " )
69+
70+ exit 0
Original file line number Diff line number Diff line change 11431143 start_pattern : lookBehindToAvoid ( /[^ \t ]/ ) . then (
11441144 tag_as : "punctuation.definition.group" ,
11451145 match : /{/
1146- ) ,
1146+ ) . lookAheadToAvoid ( / \w | \$ / ) , # range-expansion
11471147 end_pattern : Pattern . new (
11481148 tag_as : "punctuation.definition.group" ,
11491149 match : /}/
You can’t perform that action at this time.
0 commit comments