]> git.eshelyaron.com Git - emacs.git/commit
Improve treesit settings for js/typescript/ruby-ts-mode (bug#73404)
authorJuri Linkov <juri@linkov.net>
Thu, 6 Mar 2025 18:22:50 +0000 (20:22 +0200)
committerEshel Yaron <me@eshelyaron.com>
Sun, 9 Mar 2025 10:19:54 +0000 (11:19 +0100)
commit1fd550928d678c6b2ab50f6855b16107d0d76691
treee9e832476701b5f4844dc86851b8a56e341f0c65
parentee1f5d32a00be976d2185d37631edb2812c25a6b
Improve treesit settings for js/typescript/ruby-ts-mode (bug#73404)

* lisp/progmodes/js.el (js--treesit-list-nodes):
* lisp/progmodes/typescript-ts-mode.el (typescript-ts-mode--list-nodes):
Replace leaf "string" with "template_string" and "template_substitution"
that can contain more nodes.

* lisp/progmodes/ruby-ts-mode.el (ruby-ts-mode):
Add the 'sentence' thing to treesit-thing-settings.

(cherry picked from commit 63cc542b9402ad0a794f4e05790366bd580b8bd1)
lisp/progmodes/js.el
lisp/progmodes/ruby-ts-mode.el
lisp/progmodes/typescript-ts-mode.el