Add :override flag for python tree-sitter font-lock settings
* lisp/progmodes/python.el (python--treesit-settings): Add :override.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user