diff options
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/progmodes/python.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index af59b8e1467..3a919c8cf20 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el @@ -1113,7 +1113,9 @@ fontified." :feature 'decorator :language 'python - '((decorator) @font-lock-type-face) + '((decorator "@" @font-lock-type-face) + (decorator (call function: (identifier) @font-lock-type-face)) + (decorator (identifier) @font-lock-type-face)) :feature 'type :language 'python |