]> git.eshelyaron.com Git - emacs.git/commit
Add treesit thing 'sexp-list' to some ts-modes (bug#73404)
authorJuri Linkov <juri@linkov.net>
Thu, 19 Dec 2024 07:33:22 +0000 (09:33 +0200)
committerEshel Yaron <me@eshelyaron.com>
Mon, 23 Dec 2024 15:15:34 +0000 (16:15 +0100)
commitc387dc5e6ecb7ede941a97c0be8dc8da9242c8c1
tree029b1153baea6428af9292414b3b9dfa404b2ba1
parentbb7534bfdd5fc6ff103e078294abbfbdff10151d
Add treesit thing 'sexp-list' to some ts-modes (bug#73404)

* lisp/progmodes/c-ts-mode.el (c-ts-mode--thing-settings):
* lisp/progmodes/js.el (js-ts-mode):
* lisp/progmodes/ruby-ts-mode.el (ruby-ts-mode):
* lisp/textmodes/html-ts-mode.el (html-ts-mode):
Add 'sexp-list' to treesit-thing-settings.
* lisp/progmodes/js.el (js--treesit-sexp-list-nodes): New variable.

(cherry picked from commit ea865c98cf3c8a4e0216a81be1b9357a48e7b9a3)
lisp/progmodes/c-ts-mode.el
lisp/progmodes/js.el
lisp/progmodes/ruby-ts-mode.el
lisp/textmodes/html-ts-mode.el