emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

emacs-29 a86a213e1a 1/2: js-ts-mode: Move 'string-interpolation' to font


From: Dmitry Gutov
Subject: emacs-29 a86a213e1a 1/2: js-ts-mode: Move 'string-interpolation' to font-lock level 3
Date: Mon, 2 Jan 2023 13:43:09 -0500 (EST)

branch: emacs-29
commit a86a213e1ac6439557703ab6a3a1294160ffcdc2
Author: Dmitry Gutov <dgutov@yandex.ru>
Commit: Dmitry Gutov <dgutov@yandex.ru>

    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.
---
 lisp/progmodes/js.el | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/lisp/progmodes/js.el b/lisp/progmodes/js.el
index 501c0599e8..c5fdecae71 100644
--- a/lisp/progmodes/js.el
+++ b/lisp/progmodes/js.el
@@ -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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]