]> git.eshelyaron.com Git - emacs.git/commit
Add the treesit 'list' thing to csharp/go/php/rust-ts-mode (bug#73404)
authorJuri Linkov <juri@linkov.net>
Sat, 15 Mar 2025 18:37:46 +0000 (20:37 +0200)
committerEshel Yaron <me@eshelyaron.com>
Sun, 16 Mar 2025 16:33:09 +0000 (17:33 +0100)
commit57e505d12737422aa505e6c875ecaef099c4b6d2
tree9d25b477e02d4c475f8d1601526eebcc6394940b
parent9beee812f7720940829af82375f88823d8cc4a4d
Add the treesit 'list' thing to csharp/go/php/rust-ts-mode (bug#73404)

* lisp/progmodes/csharp-mode.el (csharp-ts-mode): Add the
'list' and 'sentence' things to 'treesit-thing-settings'.
Set 'treesit-outline-predicate'.

* lisp/progmodes/go-ts-mode.el (go-ts-mode):
Add 'treesit-thing-settings' with the 'list' and 'sentence' things.

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

* lisp/progmodes/rust-ts-mode.el (rust-ts-mode):
Add 'treesit-thing-settings' with the 'list' thing.

(cherry picked from commit f3925732bc55be3d6d32d20b95f7a88926d4ebda)
lisp/progmodes/csharp-mode.el
lisp/progmodes/go-ts-mode.el
lisp/progmodes/php-ts-mode.el
lisp/progmodes/rust-ts-mode.el