[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
- Re: treesit: how to get it to parse multiple languages, (continued)
- Re: treesit: how to get it to parse multiple languages, Eli Zaretskii, 2024/11/04
- Re: treesit: how to get it to parse multiple languages, Yuan Fu, 2024/11/05
- Re: treesit: how to get it to parse multiple languages, Andrew De Angelis, 2024/11/10
- Re: treesit: how to get it to parse multiple languages, Peter Oliver, 2024/11/10
- Re: treesit: how to get it to parse multiple languages, Juri Linkov, 2024/11/11
- Re: treesit: how to get it to parse multiple languages, Yuan Fu, 2024/11/19
- Re: treesit: how to get it to parse multiple languages, Vincenzo Pupillo, 2024/11/19
- Re: treesit: how to get it to parse multiple languages, Yuan Fu, 2024/11/24
- Re: treesit: how to get it to parse multiple languages, Vincenzo Pupillo, 2024/11/24
- Re: treesit: how to get it to parse multiple languages, Juri Linkov, 2024/11/29
- Re: treesit: how to get it to parse multiple languages,
Yuan Fu <=
- Re: treesit: how to get it to parse multiple languages, Vincenzo Pupillo, 2024/11/29
- Re: treesit: how to get it to parse multiple languages, Yuan Fu, 2024/11/19