emacs-devel
[Top][All Lists]
Advanced

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

Re: Are variations such as these desired?


From: Stefan Monnier
Subject: Re: Are variations such as these desired?
Date: Tue, 13 Dec 2022 09:36:47 -0500
User-agent: Gnus/5.13 (Gnus v5.13)

> The two rules could be conditionally added to the rest of the rules
> via a customizable boolean variable such as
> ruby-ts-mode--right-justify-arrays (for example).

I would welcome addition of some kind of "ts-align" functionality which
uses the tree-sitter info to align code elements.

I've had it as a todo for SMIE but never got around to it.

It should be possible to make it work well even in the absence of any
extra info provided by the major mode, AFAICT.


        Stefan




reply via email to

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