mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-27 07:37:33 +00:00
Highlight identifier in import statements in js-ts-mode
Follow-up on bug#60689. This commit just copied the change in
e385c099b8
to js-ts-mode.
* lisp/progmodes/js.el:
(js--treesit-font-lock-settings): Add import query.
This commit is contained in:
parent
aa9df1260c
commit
8377ed5298
@ -3542,7 +3542,10 @@ This function is intended for use in `after-change-functions'."
|
||||
(identifier)
|
||||
(identifier)
|
||||
@font-lock-function-name-face)
|
||||
value: (array (number) (function))))
|
||||
value: (array (number) (function)))
|
||||
(import_clause (identifier) @font-lock-variable-name-face)
|
||||
(import_clause (named_imports (import_specifier (identifier))
|
||||
@font-lock-variable-name-face)))
|
||||
|
||||
:language 'javascript
|
||||
:feature 'property
|
||||
|
Loading…
Reference in New Issue
Block a user