Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Commit 2ef1a8a

Browse files
authored
Merge pull request #318 from ThatXliner/patch-1
Added async (line 851)
2 parents d4a8e73 + 681aba3 commit 2ef1a8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

grammars/python.cson

+1-1
Original file line numberDiff line numberDiff line change
@@ -848,7 +848,7 @@
848848
'generic_names':
849849
'match': '[A-Za-z_][A-Za-z0-9_]*'
850850
'illegal_names':
851-
'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|await)\\b'
851+
'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|await|async)\\b'
852852
'name': 'invalid.illegal.name.python'
853853
'keyword_arguments':
854854
'begin': '\\b([a-zA-Z_][a-zA-Z_0-9]*)\\s*(=)(?!=)'

0 commit comments

Comments
 (0)