emacs-devel
[Top][All Lists]
Advanced

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

Re: treesit: how to get it to parse multiple languages


From: Yuan Fu
Subject: Re: treesit: how to get it to parse multiple languages
Date: Thu, 28 Nov 2024 23:37:28 -0800


> On Nov 28, 2024, at 11:22 PM, Juri Linkov <juri@linkov.net> wrote:
> 
>>> That’s awesome!
>> 
>> It's pretty much ready, the only thing I'm missing is the ability to create 
>> an 
>> Imenu with symbols from both HTML and the other embedded languages. I have 
>> tried a few approaches but it seems that it can only be done for the main 
>> language. Is there any way to do something like that?
> 
> Imenu is a small detail that could be figured out after pushing your main 
> work.

Oops, sorry for the late reply. Lets’ do this: I’ll extend treesit-simple-imenu 
to support multi-language. Once we have that you can add imenu support for your 
new mode.

Yuan


reply via email to

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