emacs-devel
[Top][All Lists]
Advanced

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

Re: Tree-sitter api


From: Yuan Fu
Subject: Re: Tree-sitter api
Date: Tue, 29 Mar 2022 21:29:16 -0700


> On Mar 29, 2022, at 8:39 PM, Po Lu <luangruo@yahoo.com> wrote:
> 
> Yuan Fu <casouri@gmail.com> writes:
> 
>> I was saying we can’t use ts as a prefix, but I agree with the idea of
>> using a shorter prefix.
> 
> But you can have the cake and eat it too, by making `ts' (or some other
> short prefix) a shorthand for `tree-sitter' in the files where you want
> to use it.

That’s true. I have some worries like whether people know about this feature 
and whether they will use it, but perhaps these aren’t real problems. I don’t 
have any case against tree-sitter- prefix apart from it being tedious to type. 
(They also fills up a 70-char line rather quickly, but that’s not too big of a 
problem.)

Yuan


reply via email to

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