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