]> git.eshelyaron.com Git - emacs.git/commit
Make typescript-ts-mode work with latest grammar
authorYuan Fu <casouri@gmail.com>
Mon, 30 Dec 2024 08:21:55 +0000 (00:21 -0800)
committerEshel Yaron <me@eshelyaron.com>
Sat, 4 Jan 2025 20:25:55 +0000 (21:25 +0100)
commitc3b0d98a30bcb3f5643512b036370bdde24ca291
tree1188635f86856a69ac4b2bba712cabc1b4db5e73
parent34ba2533b4a949f3add403021e004b2c2fa0df50
Make typescript-ts-mode work with latest grammar

* lisp/progmodes/typescript-ts-mode.el:
(tsx-ts-mode--font-lock-compatibility-bb1f97b): Return dummy
query when neither query works.  In latest grammar, neither will
work, because typescript grammar doesn't include jsx grammar
anymore.

(cherry picked from commit ec3f9434c7d615dc37ba444a2200f13c84984299)
lisp/progmodes/typescript-ts-mode.el