Allow string-valued options to contain spaces
JeffFaer opened this issue · 0 comments
JeffFaer commented
For example, if I want to sort markdown lists:
* foo
* bar
* [baz](./path/to/baz)
I would want that to be sorted as
* bar
* [baz](./path/to/baz)
* foo
But the [
in front of baz
interferes with that. One workaround would be to use ignore_prefixes
, but there currently isn't any way to include a space in the ignored prefix. In this situation we would need something likeignore_prefixes="* ","* ["
This function needs to be updated so that string-valued options can accept values with spaces:
keep-sorted/keepsorted/options.go
Lines 141 to 153 in 15e6c2f