trixnz / lua-fmt

lua-fmt is pretty-printer for Lua code
MIT License
189 stars 25 forks source link

add ability to change tab size #42

Open rahulkumarsingh73690 opened 3 years ago

rahulkumarsingh73690 commented 3 years ago

Is it possible to change tab size

rahulkumarsingh73690 commented 3 years ago

@wyozi @trixnz

theoparis commented 3 years ago

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.

rahulkumarsingh73690 commented 3 years ago

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

theoparis commented 3 years ago

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