[Top][All Lists]

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

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

From: john muhl
Subject: Re: [ELPA] New package: lua-ts-mode
Date: Thu, 27 Jul 2023 16:52:47 -0500

Eli Zaretskii <eliz@gnu.org> writes:

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

Fair enough. I gave it a closer look and don’t think it’s possible to
support even on its own. Try opening a file containing:


Enable treesit-explore-mode and see:

   function: (variable name: (identifier))
   arguments: (ERROR ( (number) ))      ; That ERROR node is erroneous
   (argument_list (string)))

Those stray ERRORs are pervasive and all kinds of code end up with them
in unexpected places. There may be other issues but this one is enough
to make it unusable. I don’t think this is fixable on the Emacs side.

Another problem is that in an empty buffer Emacs freezes when you start
typing. The Azganoth grammar and t-e-m must be enabled for it to freeze.
This might be fixable in Emacs but wouldn’t change the problem with
misplaced ERROR nodes.

If someone fixes the problems with the grammar or shows where I’ve gone
wrong I’m happy to revisit.

reply via email to

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