Fix c++-ts-mode font-lock for latest c++ grammar (bug#73191)
authorYuan Fu <casouri@gmail.com>
Sat, 14 Sep 2024 18:07:28 +0000 (11:07 -0700)
committerYuan Fu <casouri@gmail.com>
Sat, 14 Sep 2024 18:09:45 +0000 (11:09 -0700)
commit21efdd5ef31febc8fd59bf483a39bba512d50f45
treedd3e52419850415a284c40dd21e3a44d7404d075
parentffc00eac53d88296e234d274ad1dd95bdf3cf065
Fix c++-ts-mode font-lock for latest c++ grammar (bug#73191)

* lisp/progmodes/c-ts-mode.el:
(c-ts-mode--keywords): Add "thread_local" keyword.
(c-ts-mode--test-virtual-named-p): New function.
(c-ts-mode--font-lock-settings): Use named/anonymous "virtual" depending
on the grammar.
lisp/progmodes/c-ts-mode.el