heybourn / headwind

An opinionated Tailwind CSS class sorter built for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=heybourn.headwind
MIT License
1.39k stars 44 forks source link

Not respecting the line breaks #191

Open ph7jack opened 2 years ago

ph7jack commented 2 years ago

Describe the bug The sorting is not respecting the line breaks to make it easy to read

Before image

After image

hacknug commented 2 years ago

I don't think this is something headwind supports by default. Maybe you can change the regex so it treats each line as an independent group to sort?