Remove nullptr named node from c++-ts-mode (bug#64818)
The nullptr node was changed from a named node to an unnamed node
upstream[0], which caused font locking to break. As this is a small
enough regression, no compat code is required.
* lisp/progmodes/c-ts-mode.el (c-ts-mode--font-lock-settings): Remove
node no longer in use.
[0]:
c75868f8b5
This commit is contained in:
parent
4e977136d3
commit
c2d95dd00e
1 changed files with 1 additions and 3 deletions
|
@ -574,9 +574,7 @@ MODE is either `c' or `cpp'."
|
|||
:feature 'constant
|
||||
`((true) @font-lock-constant-face
|
||||
(false) @font-lock-constant-face
|
||||
(null) @font-lock-constant-face
|
||||
,@(when (eq mode 'cpp)
|
||||
'((nullptr) @font-lock-constant-face)))
|
||||
(null) @font-lock-constant-face)
|
||||
|
||||
:language mode
|
||||
:feature 'keyword
|
||||
|
|
Loading…
Add table
Reference in a new issue