|
From: | Dmitry Gutov |
Subject: | bug#61502: 29.0.60; c-ts-mode auto-indent not working |
Date: | Wed, 15 Feb 2023 15:35:09 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 |
Rather selecting the first node "above" point sounds more reasonable?
treesit-node-on is the "precise" finding function. treesit-node-at is the dwim-y one.
I think having treesit-node-on return a node that doesn't actually cover BEG to END will be very counter-intuitive.
[Prev in Thread] | Current Thread | [Next in Thread] |