From: Yuan Fu <casouri@gmail.com>
To: Theodor Thornhill <theo@thornhill.no>
Cc: leungbk@posteo.net, 59878@debbugs.gnu.org
Subject: bug#59878: [PATCH] c++-ts-mode: Highlight nullptr as a constant
Date: Wed, 7 Dec 2022 11:24:38 -0800 [thread overview]
Message-ID: <AA4E35FD-2E73-40F8-A747-01AD8014AEAF@gmail.com> (raw)
In-Reply-To: <87k033plhp.fsf@posteo.net>
Theodor Thornhill <theo@thornhill.no> writes:
> 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?
Applied, thanks!
Yuan
next prev parent reply other threads:[~2022-12-07 19:24 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
2022-12-07 19:24 ` Yuan Fu [this message]
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=AA4E35FD-2E73-40F8-A747-01AD8014AEAF@gmail.com \
--to=casouri@gmail.com \
--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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).