[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
emacs-29 8503b370be: (python--treesit-settings): Remove duplicate matche
From: |
Dmitry Gutov |
Subject: |
emacs-29 8503b370be: (python--treesit-settings): Remove duplicate matcher |
Date: |
Wed, 28 Dec 2022 08:16:45 -0500 (EST) |
branch: emacs-29
commit 8503b370be104c2ee40a34e38f69d144f19b0314
Author: Dmitry Gutov <dgutov@yandex.ru>
Commit: Dmitry Gutov <dgutov@yandex.ru>
(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').
---
lisp/progmodes/python.el | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
index 9a6f807f4f..07f86d3155 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)))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- emacs-29 8503b370be: (python--treesit-settings): Remove duplicate matcher,
Dmitry Gutov <=