slim-template/ruby-slim.tmbundle

comment does not highlight at next indented line

lidaobing opened this issue · 5 comments

comment also works on indented following lines, but you did not highlight it as comment

I'd love to fix this, but unfortunately Textmate doesn't support syntax highlighting for multiple lines: http://manual.macromates.com/en/language_grammars :(

if it does not support multiple line syntax, how does it support C style comment, like

/*
comment
*/

There needs to be a closing tag to determine when the comments end, in C style's case, you have */. Slim doesn't have an end tag for comments unfortunately.

we can not use the indent as the end tag of comments?

I don't think so. Happy to be proven wrong though. :)