]> code.delx.au - gnu-emacs/commitdiff
Add Python 3.5 keyword "await"
authorJorgen Schaefer <contact@jorgenschaefer.de>
Thu, 21 Apr 2016 08:00:39 +0000 (10:00 +0200)
committerJorgen Schaefer <contact@jorgenschaefer.de>
Thu, 21 Apr 2016 08:05:26 +0000 (10:05 +0200)
* lisp/progmodes/python.el (python-font-lock-keywords): Add await as
keyword.

lisp/progmodes/python.el

index 375b9fedc9d34446d26eb4b2cc5eb32708fd3d84..1898e0d3b8c1e68fde029485f7dd6cdc38449e5f 100644 (file)
@@ -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)