diff --git a/lisp/progmodes/js.el b/lisp/progmodes/js.el index 75c8111035c..14ae4068263 100644 --- a/lisp/progmodes/js.el +++ b/lisp/progmodes/js.el @@ -3861,11 +3861,14 @@ See `treesit-thing-settings' for more information.") "array" "function" "string" + "template_string" + "template_substitution" "escape" "template" "regex" "number" "identifier" + "property_identifier" "this" "super" "true" @@ -3929,7 +3932,7 @@ See `treesit-thing-settings' for more information.") (sexp ,(js--regexp-opt-symbol js--treesit-sexp-nodes)) (sentence ,(js--regexp-opt-symbol js--treesit-sentence-nodes)) (text ,(js--regexp-opt-symbol '("comment" - "template_string")))))) + "string_fragment")))))) ;; Fontification. (setq-local treesit-font-lock-settings js--treesit-font-lock-settings)