Examples in the Readme #497
Replies: 1 comment 2 replies
-
Sure, I can try to find some examples. It might clog the already large readme, but I'll take a look. If it helps at all, the snapshot tests highlight the formatting after running stylua - https://github.com/JohnnyMorganz/StyLua/tree/master/tests/snapshots - although, slightly more difficult to glance through. These 2 snapshots might give the best idea for now: The "before" version of large example 2 helps to highlight the kind of difference that stylua tries to make: https://github.com/JohnnyMorganz/StyLua/blob/master/tests/inputs/large-example-2.lua |
Beta Was this translation helpful? Give feedback.
-
Hey there! I'm just getting into Lua and this is very cool. I don't have a codebase I can run this on so would it be possible to add some examples in the readme? That way, folks such as myself can get a quick taste of "how it looks" and decide quickly if they want to use Stylua or not.
Beta Was this translation helpful? Give feedback.
All reactions