handcrafted-haml-textmate-bundle icon indicating copy to clipboard operation
handcrafted-haml-textmate-bundle copied to clipboard

Support for line breaks after commas.

Open jmcnevin opened this issue 11 years ago • 9 comments

It is now possible to wrap a HAML line after a comma, but syntax highlighting currently only works on the first line (in Sublime Text).

jmcnevin avatar Mar 19 '13 18:03 jmcnevin

I'd love to see this feature.

+1

sudoremo avatar Oct 07 '13 15:10 sudoremo

+1

coryschires avatar Jan 17 '14 05:01 coryschires

Would like that too.

+1

mmhan avatar Apr 23 '14 16:04 mmhan

+1

astyagun avatar Feb 19 '15 09:02 astyagun

+1

reconstructions avatar Mar 10 '15 03:03 reconstructions

+1

iabdulin avatar Aug 05 '15 16:08 iabdulin

Finally found a work around least for this. If you just use the 'Ruby' syntax highlighting formatter instead of 'Ruby Haml', then you can put returns in those super long parameter strings and it will conserve the syntax highlighting. I haven't found any place this won't work yet. I will be interested to hear if anyone knows of any tradeoffs or bad practices which might come from this.

reconstructions avatar Sep 21 '15 01:09 reconstructions

Found the first deal killer myself, which is that CSS ID tags (#a_css_id) are incorrectly colored as comments when using the Ruby syntax coloring. Getting used to this is still better than putting up with having to run all my parameters together in long lines, so I am making the switch.

reconstructions avatar Sep 23 '15 16:09 reconstructions

OK

TestAnaxi avatar Jul 11 '19 22:07 TestAnaxi