File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change 80
80
' name' : ' storage.modifier.global.python'
81
81
' match' : ' \\ b(global)\\ b'
82
82
}
83
+ {
84
+ ' captures' :
85
+ ' 1' :
86
+ ' name' : ' storage.modifier.nonlocal.python'
87
+ ' match' : ' \\ b(nonlocal)\\ b'
88
+ }
83
89
{
84
90
' captures' :
85
91
' 1' :
814
820
' generic_names' :
815
821
' match' : ' [A-Za-z_][A-Za-z0-9_]*'
816
822
' illegal_names' :
817
- ' match' : ' \\ b(and|as|assert|break|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|not|or|pass|print|raise|return|try|while|with|yield)\\ b'
823
+ ' match' : ' \\ b(and|as|assert|break|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|nonlocal| not|or|pass|print|raise|return|try|while|with|yield)\\ b'
818
824
' name' : ' invalid.illegal.name.python'
819
825
' keyword_arguments' :
820
826
' begin' : ' \\ b([a-zA-Z_][a-zA-Z_0-9]*)\\ s*(=)(?!=)'
You can’t perform that action at this time.
0 commit comments