(python--treesit-settings): Remove duplicate matcher

* lisp/progmodes/python.el (python--treesit-settings): Remove
duplicate matcher (which found itself under 'function' in addition
to 'definition').
This commit is contained in:
Dmitry Gutov 2022-12-28 15:12:44 +02:00
parent b464e6c490
commit 8503b370be

View file

@ -1096,9 +1096,7 @@ fontified."
:feature 'function :feature 'function
:language 'python :language 'python
'((function_definition '((call function: (identifier) @font-lock-function-name-face)
name: (identifier) @font-lock-function-name-face)
(call function: (identifier) @font-lock-function-name-face)
(call function: (attribute (call function: (attribute
attribute: (identifier) @font-lock-function-name-face))) attribute: (identifier) @font-lock-function-name-face)))