diff options
Diffstat (limited to 'lisp/progmodes/python.el')
| -rw-r--r-- | lisp/progmodes/python.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index 3f85201c107..b498baec608 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el | |||
| @@ -987,6 +987,7 @@ Do not fontify the initial f for f-strings." | |||
| 987 | (defvar python--treesit-settings | 987 | (defvar python--treesit-settings |
| 988 | (treesit-font-lock-rules | 988 | (treesit-font-lock-rules |
| 989 | :language 'python | 989 | :language 'python |
| 990 | :override t | ||
| 990 | `(;; Queries for def and class. | 991 | `(;; Queries for def and class. |
| 991 | (function_definition | 992 | (function_definition |
| 992 | name: (identifier) @font-lock-function-name-face) | 993 | name: (identifier) @font-lock-function-name-face) |