File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1134,7 +1134,7 @@ repository:
1134
1134
name : " keyword.control.flow.python"
1135
1135
}
1136
1136
{
1137
- match : " \\ b(lambda)\\ s*?([,\\ n]|$)"
1137
+ match : " \\ b(lambda)\\ s*?(?= [,\\ n]|$)"
1138
1138
captures :
1139
1139
" 1" :
1140
1140
name : " storage.type.function.lambda.python"
Original file line number Diff line number Diff line change 1755
1755
</dict >
1756
1756
<dict >
1757
1757
<key >match </key >
1758
- <string >\b(lambda)\s*?([,\n]|$) </string >
1758
+ <string >\b(lambda)\s*?(?= [,\n]|$) </string >
1759
1759
<key >captures </key >
1760
1760
<dict >
1761
1761
<key >1 </key >
Original file line number Diff line number Diff line change @@ -897,7 +897,7 @@ repository:
897
897
- match : ((?<=\.)lambda|lambda(?=\s*[\.=]))
898
898
captures :
899
899
' 1 ' : {name: keyword.control.flow.python}
900
- - match : \b(lambda)\s*?([,\n]|$)
900
+ - match : \b(lambda)\s*?(?= [,\n]|$)
901
901
captures :
902
902
' 1 ' : {name: storage.type.function.lambda.python}
903
903
- name : meta.lambda-function.python
You can’t perform that action at this time.
0 commit comments