The new rule works with both the new (>= 0.22.1) and the
old (<= 0.22.0) grammar libraries.
* lisp/progmodes/c-ts-mode.el (c-ts-mode--keywords): Removed
the keyword "virtual".
* lisp/progmodes/c-ts-mode.el (c-ts-mode--font-lock-settings):
New font lock rule. (Bug#71518)
(cherry picked from commit
014aab9847a0d3d898cb8cbc7224143f2d741abb)
"not" "not_eq" "operator" "or"
"or_eq" "override" "private" "protected"
"public" "requires" "template" "throw"
- "try" "typename" "using" "virtual"
+ "try" "typename" "using"
"xor" "xor_eq"))
(append '("auto") c-keywords))))
`([,@(c-ts-mode--keywords mode)] @font-lock-keyword-face
,@(when (eq mode 'cpp)
'((auto) @font-lock-keyword-face
- (this) @font-lock-keyword-face)))
+ (this) @font-lock-keyword-face
+ (virtual) @font-lock-keyword-face)))
:language mode
:feature 'operator