From: Theodor Thornhill via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: Brian Leung <leungbk@posteo.net>
Cc: 59878@debbugs.gnu.org
Subject: bug#59878: [PATCH] c++-ts-mode: Highlight nullptr as a constant
Date: Wed, 07 Dec 2022 13:56:04 +0100 [thread overview]
Message-ID: <87cz8vz82j.fsf@thornhill.no> (raw)
In-Reply-To: <87k033plhp.fsf@posteo.net> (Brian Leung's message of "Wed, 07 Dec 2022 10:16:18 +0000")
Hi!
Brian Leung <leungbk@posteo.net> writes:
> diff --git a/lisp/progmodes/c-ts-mode.el b/lisp/progmodes/c-ts-mode.el
> index 0c66b4959e0..6f1488917a6 100644
> --- a/lisp/progmodes/c-ts-mode.el
> +++ b/lisp/progmodes/c-ts-mode.el
> @@ -233,7 +233,8 @@ c-ts-mode--font-lock-settings
> (false) @font-lock-constant-face
> (null) @font-lock-constant-face
> ,@(when (eq mode 'cpp)
> - '((this) @font-lock-constant-face)))
> + '((this) @font-lock-constant-face
> + (nullptr) @font-lock-constant-face)))
>
> :language mode
> :feature 'keyword
Thanks! Yuan, Will you apply this change?
Theo
next prev parent reply other threads:[~2022-12-07 12:56 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-07 10:16 bug#59878: [PATCH] c++-ts-mode: Highlight nullptr as a constant Brian Leung
2022-12-07 12:56 ` Theodor Thornhill via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2022-12-07 19:24 ` Yuan Fu
2022-12-08 0:19 ` Stefan Kangas
2022-12-08 0:43 ` Yuan Fu
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=87cz8vz82j.fsf@thornhill.no \
--to=bug-gnu-emacs@gnu.org \
--cc=59878@debbugs.gnu.org \
--cc=leungbk@posteo.net \
--cc=theo@thornhill.no \
/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.