[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Tree-sitter integration on feature/tree-sitter
From: |
Yoav Marco |
Subject: |
Re: Tree-sitter integration on feature/tree-sitter |
Date: |
Tue, 28 Jun 2022 22:35:52 +0300 |
User-agent: |
mu4e 1.6.3; emacs 29.0.50 |
Whoops, my mail turned out garbaled, sorry.
Corrected version:
Yuan Fu <casouri@gmail.com> writes:
>>> Also I think it makes more sense if you just fork it rather than making a
>>> PR.
>>
>> Yeah, I don't really expect it to be merged.
>>
>> My reason for the PR is for it to be more of a talking point about
>> collaboration between treesit and tree-sitter-langs. I used
>> elisp-tree-sitter before trying the feature/tree-sitter branch, and I
>> really like the richness of its highlighting (which comes from the
>> highlights.scm files).
>
> Do you already have the highlighting working for treesit?
I only checked a few, but yeah, and the syntax highlighting is very pretty.
> If so, maybe you can packages it in a separate package and publish it,
> it would be a nice demonstration of treesit features.
I'm not comfortable with doing that, the query patterns update
frequently upstream (though ubolonton has been busy lately) and all I'm
doing is post-process them a little.
I could try to make a self-updating repo or something with CI -
https://github.com/meain/evil-textobj-tree-sitter for example pulls
highlights.scm changes from nvim's repo weeky.
Is that worth it? I thought people could just as easily use my PR
branch of tree-sitter-langs. That also takes care of fetching grammars.
Sorry for the late response,
Yoav
- Re: Tree-sitter integration on feature/tree-sitter, (continued)
- Re: Tree-sitter integration on feature/tree-sitter, Yuan Fu, 2022/06/20
- Re: Tree-sitter integration on feature/tree-sitter, Yoav Marco, 2022/06/18
- Re: Tree-sitter integration on feature/tree-sitter, Yuan Fu, 2022/06/17
- Re: Tree-sitter integration on feature/tree-sitter, Yoav Marco, 2022/06/18
- Re: Tree-sitter integration on feature/tree-sitter, Yuan Fu, 2022/06/18
Re: Tree-sitter integration on feature/tree-sitter, Yuan Fu, 2022/06/16
Re: Tree-sitter integration on feature/tree-sitter, Yuan Fu, 2022/06/16
Re: Tree-sitter integration on feature/tree-sitter, Yoav Marco, 2022/06/28
- Re: Tree-sitter integration on feature/tree-sitter,
Yoav Marco <=
Re: Tree-sitter integration on feature/tree-sitter, Abin Simon, 2022/06/29