* lisp/progmodes/js.el (js--treesit-font-lock-settings):
Remove queries from 'function' that duplicate entries in
'definition' (one of them with a typo).
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