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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user