How do I eradicate this kind of ugliness?

Would be nice to have some syntax highlighting on this stuff.
I thought this Textmate bundle here might do the trick, but no luck. I know it's all to do with the pipe separators for multiline statements.
Do you even need those vertical bars in the first place? I have never used them in this way in my Haml files. According to the Haml docs, the pipe character designates a multiline string:
%whoo
%hoo= h( |
"I think this might get " + |
"pretty long so I should " + |
"probably make it " + |
"multiline so it doesn't " + |
"look awful.") |
%p This is short.
So, for what you are doing, just having a comma at the end of the line after one of your arguments should be enough to put the next argument wherever you would like on the next line.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With