lua-fmt icon indicating copy to clipboard operation
lua-fmt copied to clipboard

add ability to change tab size

Open rahulkumarsingh73690 opened this issue 4 years ago • 4 comments

Is it possible to change tab size

rahulkumarsingh73690 avatar Feb 01 '21 17:02 rahulkumarsingh73690

@wyozi @trixnz

rahulkumarsingh73690 avatar Feb 02 '21 16:02 rahulkumarsingh73690

I have decided to fork both luafmt AND luaparse - and I am working on getting everything to work. It will have typescript api support and .editorconfig support. Right now a lot of the tests seem to be broken with lua 5.4.

UPDATE: the development version has been pushed to git - expect it to have some bugs: Here is the repository. Currently it isn't published to npm but you can install it with:

npm i -g git://github.com/creepinson/lua-fmt#dev

I mainly made this fork because I wanted a neovim lua formatter. My fork should work fine with ALE as well.

theoparis avatar May 15 '21 19:05 theoparis

I have decided to fork both luafmt AND luaparse - and I am working on getting everything to work. It will have typescript api support and .editorconfig support. Right now a lot of the tests seem to be broken with lua 5.4.

UPDATE: the development version has been pushed to git - expect it to have some bugs: Here is the repository. Currently it isn't published to npm but you can install it with:

npm i -g git://github.com/creepinson/lua-fmt#dev

I mainly made this fork because I wanted a neovim lua formatter. My fork should work fine with ALE as well.

Any update? when you publish

rahulkumarsingh73690 avatar Jul 29 '21 14:07 rahulkumarsingh73690

It does work through git installation but I'll publish it to npm soon. I just wanted to make sure everything works.

theoparis avatar Jul 31 '21 00:07 theoparis