all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Randy Taylor <dev@rjt.dev>
To: Dmitry Gutov <dgutov@yandex.ru>
Cc: emacs-devel <emacs-devel@gnu.org>
Subject: Re: Which face to use for highlighting interpolation delimiters?
Date: Fri, 06 Jan 2023 02:56:33 +0000	[thread overview]
Message-ID: <fVJSuIx8UXnVPvagCnoZ-T6VGAVjpLAWWmdwsm0OmorR-mbPcvtT_6JLTf3-ZLBkPlEhwfey1-rUpYAk5gJQCCtJE_dER6XePRRdibGIJw0=@rjt.dev> (raw)
In-Reply-To: <c5594a4f-658f-af32-418c-63246379623d@yandex.ru>

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.



  reply	other threads:[~2023-01-06  2:56 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-06  1:53 Which face to use for highlighting interpolation delimiters? Dmitry Gutov
2023-01-06  2:56 ` Randy Taylor [this message]
2023-01-06 13:50   ` Dmitry Gutov
2023-01-06 14:30     ` Eli Zaretskii
2023-01-06 15:36       ` Dmitry Gutov
2023-01-06 16:48         ` Eli Zaretskii
2023-01-06 17:59           ` Dmitry Gutov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='fVJSuIx8UXnVPvagCnoZ-T6VGAVjpLAWWmdwsm0OmorR-mbPcvtT_6JLTf3-ZLBkPlEhwfey1-rUpYAk5gJQCCtJE_dER6XePRRdibGIJw0=@rjt.dev' \
    --to=dev@rjt.dev \
    --cc=dgutov@yandex.ru \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.