mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-06 11:50:51 -08:00
Add :override flag for python tree-sitter font-lock settings
* lisp/progmodes/python.el (python--treesit-settings): Add :override.
This commit is contained in:
parent
23bb724c92
commit
1ea503ed4b
1 changed files with 1 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue