js-ts-mode: Move 'string-interpolation' to font-lock level 3

* lisp/progmodes/js.el (js-ts-mode):
Move 'string-interpolation' to font-lock level 3.
This commit is contained in:
Dmitry Gutov 2023-01-02 19:59:50 +02:00
parent d26b523886
commit a86a213e1a

View file

@ -3817,9 +3817,8 @@ Currently there are `js-mode' and `js-ts-mode'."
'(( comment definition) '(( comment definition)
( keyword string) ( keyword string)
( assignment constant escape-sequence jsx number ( assignment constant escape-sequence jsx number
pattern) pattern string-interpolation)
( bracket delimiter function operator property ( bracket delimiter function operator property)))
string-interpolation)))
;; Imenu ;; Imenu
(setq-local treesit-simple-imenu-settings (setq-local treesit-simple-imenu-settings
`(("Function" "\\`function_declaration\\'" nil nil) `(("Function" "\\`function_declaration\\'" nil nil)