]> git.eshelyaron.com Git - emacs.git/commit
Improve 'treesit-outline-search'.
authorJuri Linkov <juri@linkov.net>
Wed, 9 Apr 2025 17:40:09 +0000 (20:40 +0300)
committerEshel Yaron <me@eshelyaron.com>
Fri, 11 Apr 2025 11:32:13 +0000 (13:32 +0200)
commit0ce3b1e784426697d390fde9952bdbc986411412
tree4e0485fef177c38816fa0fc6e07e15437d3ecd3c
parent09fe92a66aa554a60ff4463011bc83272535ee4f
Improve 'treesit-outline-search'.

* lisp/treesit.el (treesit-outline-search): Remove
temporary arg 'recursive'.  Use iteration to visit
more ranges until the next outline heading is found.

* lisp/progmodes/php-ts-mode.el (php-ts-mode):
Set 'treesit-outline-predicate' explicitly.

(cherry picked from commit fa247a24a5ec9cf10865f0ac3711eddfd0ad3546)
lisp/progmodes/php-ts-mode.el
lisp/treesit.el