diff options
author | Dmitry Gutov <dgutov@yandex.ru> | 2022-12-28 15:12:44 +0200 |
---|---|---|
committer | Dmitry Gutov <dgutov@yandex.ru> | 2022-12-28 15:13:25 +0200 |
commit | 8503b370be104c2ee40a34e38f69d144f19b0314 (patch) | |
tree | d555e9df5c864f3181e6e31d1b8fac9e19e31f4d | |
parent | b464e6c490be72e29619c5e101902ab3c3a2e474 (diff) | |
download | emacs-8503b370be1.tar.gz |
(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').
-rw-r--r-- | lisp/progmodes/python.el | 4 |
1 files changed, 1 insertions, 3 deletions
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))) |