I've played some more with this proposal and unfortunately given the sublime limitations I can't see how we can write a regex that will match something like:
body
word-wrap break-word
color red
Because in this case word-wrap and break-word should be treated as custom elements and not properties. This is the problem I've encountering a lot while developing this Stylus package and in a nutshell it comes down to being unable to check that next line has bigger indent with a regexp.
So unfortunately I will have to decline this PR. Thank you again for the effort. If you figure out how to circumvent the problem I described above please do let me know and I will be happy to integrate this change.
I've played some more with this proposal and unfortunately given the sublime limitations I can't see how we can write a regex that will match something like:
Because in this case
word-wrap
andbreak-word
should be treated as custom elements and not properties. This is the problem I've encountering a lot while developing this Stylus package and in a nutshell it comes down to being unable to check that next line has bigger indent with a regexp.So unfortunately I will have to decline this PR. Thank you again for the effort. If you figure out how to circumvent the problem I described above please do let me know and I will be happy to integrate this change.