heybourn / headwind

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

Not respecting the line breaks #191

Open PH7-Jack opened 1 year ago

PH7-Jack commented 1 year ago

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

Before image

After image

hacknug commented 1 year 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?