|
From: | Yilkal Argaw |
Subject: | Re: outline-minor-mode integration into the new treesitter based major modes |
Date: | Fri, 23 Dec 2022 08:04:10 +0000 |
> 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.
[Prev in Thread] | Current Thread | [Next in Thread] |