emacs-devel
[Top][All Lists]
Advanced

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

Re: [ELPA] New package: lua-ts-mode


From: Eli Zaretskii
Subject: Re: [ELPA] New package: lua-ts-mode
Date: Thu, 27 Jul 2023 22:06:13 +0300

> From: john muhl <jm@pub.pink>
> Cc: Theodor Thornhill <theo@thornhill.no>, emacs-devel@gnu.org
> Date: Thu, 27 Jul 2023 08:34:45 -0500
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> 
> > And another question: does this mode work with the other Lua grammar
> > library I know about, https://github.com/Azganoth/tree-sitter-lua?
> 
> It works in the sense of nothing going horribly wrong if you try to use
> it. You can still edit Lua files but due to differences in the trees and
> node names the experience is somewhat degraded.
> 
> > If not, would it be possible to make it work with both?
> 
> Without having tried more than just swapping out the tree-sitter-lua.so
> files it looks like it would be possible without much hassle.
> 
> I don’t think it’s worth any hassle though. The one I used is the same
> as used by Neovim[1] and is already packaged for Alpine[2] and NixOS[3]
> and is in the queue for Debian[4]. I’ll see about getting it added to
> GNU Guix (which already has a number of other grammars).
> 
> Is working with both a prerequisite for inclusion or is there some other
> reason to support them both?

It isn't a prerequisite, no.  It just would be nice to be able to
support both.



reply via email to

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