summaryrefslogtreecommitdiff
path: root/lisp/progmodes/js.el
diff options
context:
space:
mode:
authorDmitry Gutov <dgutov@yandex.ru>2023-01-06 16:17:50 +0200
committerDmitry Gutov <dgutov@yandex.ru>2023-01-06 16:17:50 +0200
commit5ab03bcc433acbd0ce7126e40746efe092e0805a (patch)
tree796bbaf12fddd965be6fc98b5a489e3b9855d95a /lisp/progmodes/js.el
parent92e8c0c091cdb67b27fa271814614ba4cab478d6 (diff)
downloademacs-5ab03bcc433acbd0ce7126e40746efe092e0805a.tar.gz
Unify the string interpolation delimiters face across ts modes
* lisp/progmodes/js.el (js--treesit-font-lock-settings): * lisp/progmodes/ruby-ts-mode.el (ruby-ts--font-lock-settings): * lisp/progmodes/typescript-ts-mode.el (typescript-ts-mode--font-lock-settings): Use font-lock-misc-punctuation-face for string interpolation delimiters.
Diffstat (limited to 'lisp/progmodes/js.el')
-rw-r--r--lisp/progmodes/js.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/progmodes/js.el b/lisp/progmodes/js.el
index 050472002bb..90b9068fd5d 100644
--- a/lisp/progmodes/js.el
+++ b/lisp/progmodes/js.el
@@ -3505,7 +3505,7 @@ This function is intended for use in `after-change-functions'."
:feature 'string-interpolation
:override t
'((template_string) @js--fontify-template-string
- (template_substitution ["${" "}"] @font-lock-delimiter-face))
+ (template_substitution ["${" "}"] @font-lock-misc-punctuation-face))
:language 'javascript
:feature 'definition