]> git.eshelyaron.com Git - emacs.git/commit
Fix for grammar change of keyword "virtual" in tree-sitter-cpp
authorVincenzo Pupillo <v.pupillo@gmail.com>
Sat, 22 Jun 2024 14:22:16 +0000 (16:22 +0200)
committerEshel Yaron <me@eshelyaron.com>
Sat, 22 Jun 2024 20:41:53 +0000 (22:41 +0200)
commitf6f5ef8273820b3098c8e03e09c225387879536a
treec8fbe21c0a94cd8fab76cd866107eaa9450432bd
parent83415ff496bb7de1c5b229717f3c095060274e69
Fix for grammar change of keyword "virtual" in tree-sitter-cpp

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)
lisp/progmodes/c-ts-mode.el