Re: [code] Lua beautifier for Textadept

From: Mitchell <m.att.foicica.com>
Date: Wed, 27 Mar 2019 09:17:16 -0400 (EDT)

Hi,

On Wed, 27 Mar 2019, Mitchell wrote:

> Hi Ryan,
>
> On Wed, 27 Mar 2019, Ryan wrote:
>
>> Has anyone found a solid Lua beautifier/formatter for Textadept? I have
>> been searching for one and haven't found anything.
>
> Have you tried https://luarocks.org/modules/luarocks/formatter? This was from
> a very quick search. I don't know if you'd have to tweak it for use in
> Textadept or for use with Lua 5.3.

I should clarify that you'd have to incorporate it into Textadept yourself (e.g. fetch buffer text, pass to formatter, replace buffer text). It looks like a general purpose formatter.

Cheers,
Mitchell

-- 
You are subscribed to code.att.foicica.com.
To change subscription settings, send an e-mail to code+help.att.foicica.com.
To unsubscribe, send an e-mail to code+unsubscribe.att.foicica.com.
Received on Wed 27 Mar 2019 - 09:17:16 EDT

This archive was generated by hypermail 2.2.0 : Thu 28 Mar 2019 - 06:37:49 EDT