File tree Expand file tree Collapse file tree 1 file changed +18
-3
lines changed Expand file tree Collapse file tree 1 file changed +18
-3
lines changed Original file line number Diff line number Diff line change 86
86
' match' : ' \\ b(?:(import)|(from))\\ b'
87
87
}
88
88
{
89
- ' comment' : ' keywords that delimit flow blocks or alter flow from within a block'
90
- ' match' : ' \\ b(elif|else|except|finally|for|if|try|while|with|break|continue|pass|raise|return|yield)\\ b'
91
- ' name' : ' keyword.control.flow.python'
89
+ ' comment' : ' keywords that delimit flow conditionals'
90
+ ' name' : ' keyword.control.flow.conditional.python'
91
+ ' match' : ' \\ b(if|elif|else)\\ b'
92
+ }
93
+ {
94
+ ' comment' : ' keywords that delimit an exception'
95
+ ' name' : ' keyword.control.flow.exception.python'
96
+ ' match' : ' \\ b(except|finally|try|raise)\\ b'
97
+ }
98
+ {
99
+ ' comment' : ' keywords that delimit loops'
100
+ ' name' : ' keyword.control.flow.repeat.python'
101
+ ' match' : ' \\ b(for|while)\\ b'
102
+ }
103
+ {
104
+ ' comment' : ' keywords that alter flow from within a block'
105
+ ' name' : ' keyword.control.flow.statement.python'
106
+ ' match' : ' \\ b(with|break|continue|pass|return|yield)\\ b'
92
107
}
93
108
{
94
109
' comment' : ' keyword operators that evaluate to True or False'
You can’t perform that action at this time.
0 commit comments