Merge pull request #1101 from benwalksaway/python_async_await

language_python: add syntax support for async/await
This commit is contained in:
Jefferson González 2022-08-16 16:23:15 -04:00 committed by GitHub
commit cefb6787f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -33,6 +33,8 @@ syntax.add {
["lambda"] = "keyword", ["lambda"] = "keyword",
["try"] = "keyword", ["try"] = "keyword",
["def"] = "keyword", ["def"] = "keyword",
["async"] = "keyword",
["await"] = "keyword",
["from"] = "keyword", ["from"] = "keyword",
["nonlocal"] = "keyword", ["nonlocal"] = "keyword",
["while"] = "keyword", ["while"] = "keyword",