[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
emacs-29 ad0f87bb4c3 1/4: (js--treesit-font-lock-settings): Remove some
From: |
Dmitry Gutov |
Subject: |
emacs-29 ad0f87bb4c3 1/4: (js--treesit-font-lock-settings): Remove some duplicates |
Date: |
Thu, 7 Dec 2023 21:21:44 -0500 (EST) |
branch: emacs-29
commit ad0f87bb4c3f432b05ec20eaccf2cef2ab7f6d61
Author: Dmitry Gutov <dmitry@gutov.dev>
Commit: Dmitry Gutov <dmitry@gutov.dev>
(js--treesit-font-lock-settings): Remove some duplicates
* lisp/progmodes/js.el (js--treesit-font-lock-settings):
Remove queries from 'function' that duplicate entries in
'definition' (one of them with a typo).
---
lisp/progmodes/js.el | 8 +-------
1 file changed, 1 insertion(+), 7 deletions(-)
diff --git a/lisp/progmodes/js.el b/lisp/progmodes/js.el
index 1528c6b7de5..b3c0f18e7b5 100644
--- a/lisp/progmodes/js.el
+++ b/lisp/progmodes/js.el
@@ -3600,13 +3600,7 @@ Check if a node type is available, then return the right
indent rules."
function: [(identifier) @font-lock-function-call-face
(member_expression
property:
- (property_identifier) @font-lock-function-call-face)])
- (method_definition
- name: (property_identifier) @font-lock-function-name-face)
- (function_declaration
- name: (identifier) @font-lock-function-call-face)
- (function
- name: (identifier) @font-lock-function-name-face))
+ (property_identifier) @font-lock-function-call-face)]))
:language 'javascript
:feature 'jsx