[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Which face to use for highlighting interpolation delimiters?
From: |
Randy Taylor |
Subject: |
Re: Which face to use for highlighting interpolation delimiters? |
Date: |
Fri, 06 Jan 2023 02:56:33 +0000 |
On Thursday, January 5th, 2023 at 20:53, Dmitry Gutov <dgutov@yandex.ru> wrote:
>
> E.g. ${ and } in "String literal with #{var} in the middle".
>
> So far it seems that the ts modes haven't managed to agree on one yet.
>
> js-ts-mode uses font-lock-delimiter-face, and
> typescript-ts-mode uses font-lock-builtin-face (for template_substitution).
>
> Maybe we need a new one.
I think font-lock-misc-punctuation-face should be used for those.
>
> While we're at it, maybe a face for regexps literals as well?
Sure.