Add Python 3.5 keyword "await"
* lisp/progmodes/python.el (python-font-lock-keywords): Add await as keyword.
This commit is contained in:
parent
0c9f35a9b0
commit
928f51945d
1 changed files with 1 additions and 0 deletions
|
@ -536,6 +536,7 @@ The type returned can be `comment', `string' or `paren'."
|
|||
"nonlocal"
|
||||
;; Python 3.5+ PEP492
|
||||
(and "async" (+ space) (or "def" "for" "with"))
|
||||
"await"
|
||||
;; Extra:
|
||||
"self")
|
||||
symbol-end)
|
||||
|
|
Loading…
Add table
Reference in a new issue