-
-
Notifications
You must be signed in to change notification settings - Fork 157
Open
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed
Description
Hi,
first of all thanks for this tool, i love it!
I struggle with this: if i try to automatically fix an unsorted env files with groups with comment as delimiter
for example:
ENV2=bbb
ENV1=aaa
###> group1 ###
ENV4=ddd
ENV5=eee
ENV3=ccc
###< group1 ###
ENV7=ggg
ENV6=fff
ends up with a sorted list but some key go outside the "comment group" (see ENV3):
ENV1=aaa
ENV2=bbb
ENV3=ccc
###> group1 ###
ENV4=ddd
ENV5=eee
###< group1 ###
ENV6=fff
ENV7=ggg
instead i'd like this output:
ENV1=aaa
ENV2=bbb
###> group1 ###
ENV3=ccc
ENV4=ddd
ENV5=eee
###< group1 ###
ENV6=fff
ENV7=ggg
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed