Koihik / LuaFormatter

Code formatter for Lua
Apache License 2.0
708 stars 86 forks source link

Provide format records for each block / line #289

Open JackBoosY opened 12 months ago

JackBoosY commented 12 months ago

When the user wants to undo a certain type of formatting operation, the formatting record can be used to easily understand what parameters to add to cancel the formatting operation. Records content such like:

-- if a==b
++ if a == b -- set no_add_space to disable this formatting