google / vim-codefmt

Vim plugin for syntax-aware code formatting
Apache License 2.0
1.11k stars 114 forks source link

LCF for lua formatting #240

Open TamaMcGlinn opened 1 week ago

TamaMcGlinn commented 1 week ago

The only lua formatter currently included is specifically for Lua 5.1, which is not the latest version. Lcf works for all lua versions, hence I suggest to add it to vim-codefmt.

dbarnett commented 1 week ago

Heh yeah, to be fair to luaformatterfiveone they never made any pretense of supporting other lua versions, weird as that approach is.

Hopefully LCF would be strictly better (once they get their stdin wrinkles etc sorted out) and the other one could be removed or deemphasized.