emacs-devel
[Top][All Lists]
Advanced

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

Re: outline-minor-mode integration into the new treesitter based major m


From: Juri Linkov
Subject: Re: outline-minor-mode integration into the new treesitter based major modes
Date: Fri, 23 Dec 2022 09:04:14 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu)

> I was experimenting with implementing a treesitter based mode for VHDL and
> I wanted to have a proper folding mechanism for the mode. Since I like
> outline for folding I was wondering if there is a way to integrate it with
> the syntax parsing. Asking here if it can be done and how I might go about
> doing it?

That would be great.  And now this is possible to do by using the new
function 'outline-search-function'.  You can set it to a function
that uses treesitter to find the next outlines.



reply via email to

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