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:
11341134 name : " keyword.control.flow.python"
11351135 }
11361136 {
1137- match : " \\ b(lambda)\\ s*?([,\\ n]|$)"
1137+ match : " \\ b(lambda)\\ s*?(?= [,\\ n]|$)"
11381138 captures :
11391139 " 1" :
11401140 name : " storage.type.function.lambda.python"
Original file line number Diff line number Diff line change 17551755 </dict >
17561756 <dict >
17571757 <key >match </key >
1758- <string >\b(lambda)\s*?([,\n]|$) </string >
1758+ <string >\b(lambda)\s*?(?= [,\n]|$) </string >
17591759 <key >captures </key >
17601760 <dict >
17611761 <key >1 </key >
Original file line number Diff line number Diff line change @@ -897,7 +897,7 @@ repository:
897897 - match : ((?<=\.)lambda|lambda(?=\s*[\.=]))
898898 captures :
899899 ' 1 ' : {name: keyword.control.flow.python}
900- - match : \b(lambda)\s*?([,\n]|$)
900+ - match : \b(lambda)\s*?(?= [,\n]|$)
901901 captures :
902902 ' 1 ' : {name: storage.type.function.lambda.python}
903903 - name : meta.lambda-function.python
You can’t perform that action at this time.
0 commit comments