From: Theodor Thornhill <theo@thornhill.no>
To: Yilkal Argaw <yilkalargawworkneh@gmail.com>,
Juri Linkov <juri@linkov.net>
Cc: Emacs Devel <emacs-devel@gnu.org>
Subject: Re: outline-minor-mode integration into the new treesitter based major modes
Date: Fri, 23 Dec 2022 09:38:00 +0100 [thread overview]
Message-ID: <871qoqbjmf.fsf@thornhill.no> (raw)
In-Reply-To: <CAJddU=qhLDqszmAyFJLa2UYUyD=w9AbMHiEr5ggzs7p4F3q7Dg@mail.gmail.com>
Yilkal Argaw <yilkalargawworkneh@gmail.com> writes:
> Awesome, thanks!
>
> On Fri, Dec 23, 2022 at 7:04 AM Juri Linkov <juri@linkov.net> wrote:
>
>> > 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.
>>
Yeah! I made an experiment some time ago, and IIRC it wasn't really
that involved. It'll be a nice addition, IMO :)
Theo
prev parent reply other threads:[~2022-12-23 8:38 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-23 4:50 outline-minor-mode integration into the new treesitter based major modes Yilkal Argaw
2022-12-23 7:04 ` Juri Linkov
2022-12-23 8:04 ` Yilkal Argaw
2022-12-23 8:38 ` Theodor Thornhill [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=871qoqbjmf.fsf@thornhill.no \
--to=theo@thornhill.no \
--cc=emacs-devel@gnu.org \
--cc=juri@linkov.net \
--cc=yilkalargawworkneh@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).