]> git.eshelyaron.com Git - emacs.git/commitdiff
js-ts-mode: Move 'string-interpolation' to font-lock level 3
authorDmitry Gutov <dgutov@yandex.ru>
Mon, 2 Jan 2023 17:59:50 +0000 (19:59 +0200)
committerDmitry Gutov <dgutov@yandex.ru>
Mon, 2 Jan 2023 17:59:50 +0000 (19:59 +0200)
* lisp/progmodes/js.el (js-ts-mode):
Move 'string-interpolation' to font-lock level 3.

lisp/progmodes/js.el

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