summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lisp/progmodes/python.el1
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."
(defvar python--treesit-settings
(treesit-font-lock-rules
:language 'python
+ :override t
`(;; Queries for def and class.
(function_definition
name: (identifier) @font-lock-function-name-face)