emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: outline-mode treesitter support?


From: Huan Nguyen
Subject: Re: outline-mode treesitter support?
Date: Tue, 19 Dec 2023 19:31:11 +0100


> On Dec 19, 2023, at 18:14, Juri Linkov <juri@linkov.net> wrote:
> 
>> Are there any plans on making outline-mode take tree sitter nodes instead of 
>> regex?
> 
> The last time this was discussed a year ago, and still no progress:
> https://lists.gnu.org/archive/html/emacs-devel/2022-12/msg01010.html
> 
>> Is it possible to add that functionality or would a new mode be necessary.
> 
> Yes, now this is possible to do after 'outline-search-function'
> was added in Emacs 29.  So you can use it to find the next outline heading
> that corresponds to the next tree sitter node.

‘outline-search-function’ should be documented in C-h f outline-mode help 
buffer.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]