mirror of
https://github.com/masscollaborationlabs/emacs.git
synced 2025-07-11 14:40:50 +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
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue