]> git.eshelyaron.com Git - emacs.git/commit
* lisp/progmodes/typescript-ts-mode.el: Fix regexp-opt of treesit-thing.
authorJuri Linkov <juri@linkov.net>
Tue, 24 Dec 2024 07:40:21 +0000 (09:40 +0200)
committerEshel Yaron <me@eshelyaron.com>
Fri, 27 Dec 2024 15:30:06 +0000 (16:30 +0100)
commit2e76acc143a5f8d66db0b7a65b4c5427ff854963
treec34b42e5e2a24b308042c8a3441a5be859481bb8
parent42e218ebbfc738d9f4767eb8600482756b351cc2
* lisp/progmodes/typescript-ts-mode.el: Fix regexp-opt of treesit-thing.

(typescript-ts-base-mode): Add arg 'symbols' to regexp-opt of 'sexp',
'sexp-list', 'sentence', 'text' (bug#73404, bug#74366, bug#74963).
(tsx-ts-mode): Add arg 'symbols' to regexp-opt of 'sexp', 'sentence'.
This avoids such mismatches as "string_fragment" by "string".

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