From: Dmitry Gutov Date: Wed, 28 Dec 2022 13:12:44 +0000 (+0200) Subject: (python--treesit-settings): Remove duplicate matcher X-Git-Tag: emacs-29.0.90~952 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=8503b370be104c2ee40a34e38f69d144f19b0314;p=emacs.git (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'). --- diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index 9a6f807f4f2..07f86d31551 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el @@ -1096,9 +1096,7 @@ fontified." :feature 'function :language 'python - '((function_definition - name: (identifier) @font-lock-function-name-face) - (call function: (identifier) @font-lock-function-name-face) + '((call function: (identifier) @font-lock-function-name-face) (call function: (attribute attribute: (identifier) @font-lock-function-name-face)))