bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#66466: [PATCH] Support lua-ts-mode in align.el


From: Stefan Kangas
Subject: bug#66466: [PATCH] Support lua-ts-mode in align.el
Date: Thu, 12 Oct 2023 11:20:10 +0000

Eshel Yaron <me@eshelyaron.com> writes:

>> Should `lua-mode' also be in `modes'?
>
> Another option would be for `lua-ts-mode` to define
> `align-mode-rules-list` locally, instead of extending `align-rules-list`
> globally.

That's an option, but then sharing it between modes is harder.

FWIW, only prolog-mode seems to do it locally.

> Also, I noticed that we already have several similar rules for aligning
> assignments and comments in `align-rules-list`.  Do none of them work
> for Lua?  If so, I wonder what specifics of Lua's syntax make the
> existing rules inapplicable.  Maybe one of the existing rules can be
> extended instead.

Maybe, OTOH the list of rules is not that long.





reply via email to

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