From: Yilkal Argaw <yilkalargawworkneh@gmail.com>
To: 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 08:04:10 +0000 [thread overview]
Message-ID: <CAJddU=qhLDqszmAyFJLa2UYUyD=w9AbMHiEr5ggzs7p4F3q7Dg@mail.gmail.com> (raw)
In-Reply-To: <86h6xmfy1v.fsf@mail.linkov.net>
[-- Attachment #1: Type: text/plain, Size: 614 bytes --]
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.
>
[-- Attachment #2: Type: text/html, Size: 939 bytes --]
next prev parent reply other threads:[~2022-12-23 8:04 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 [this message]
2022-12-23 8:38 ` Theodor Thornhill
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='CAJddU=qhLDqszmAyFJLa2UYUyD=w9AbMHiEr5ggzs7p4F3q7Dg@mail.gmail.com' \
--to=yilkalargawworkneh@gmail.com \
--cc=emacs-devel@gnu.org \
--cc=juri@linkov.net \
/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).