mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-22 07:09:54 +00:00
c++-ts-mode: Highlight nullptr as a constant
* lisp/progmodes/c-ts-mode.el (c-ts-mode--font-lock-settings): Add nullptr.
This commit is contained in:
parent
d31a253983
commit
b710ca62c0
@ -233,7 +233,8 @@ MODE is either `c' or `cpp'."
|
||||
(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
|
||||
|
Loading…
Reference in New Issue
Block a user