[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: outline-mode treesitter support?
From: |
Eli Zaretskii |
Subject: |
Re: outline-mode treesitter support? |
Date: |
Tue, 19 Dec 2023 15:42:34 +0200 |
> From: Huan Nguyen <nguyenthieuhuan@gmail.com>
> Date: Tue, 19 Dec 2023 14:25:01 +0100
> Cc: emacs-devel@gnu.org
>
> > On Dec 19, 2023, at 14:00, Eli Zaretskii <eliz@gnu.org> wrote:
> >
> >> From: Huan Nguyen <nguyenthieuhuan@gmail.com>
> >> Date: Tue, 19 Dec 2023 12:43:40 +0100
> >>
> >> Are there any plans on making outline-mode take tree sitter nodes instead
> >> of regex?
> >
> > Is there a tree-sitter grammar available somewhere for Outline mode?
> I am not aware of any. I am writing a treesitter based mode for a markup
> language.
Someone will have to write a grammar before an Emacs mode will be
practical. For other TS modes, we didn't write the grammar: we used
existing ones.