slim-template / ruby-slim.tmbundle

A Textmate / Sublime Text bundle for Slim
http://slim-lang.com/
MIT License
184 stars 46 forks source link

Inline ruby not properly highlighted #41

Closed mitch-sge closed 7 years ago

mitch-sge commented 10 years ago

I am having a problem with inline ruby blocks not being highlighted. Here are 2 examples:

image

It seems that the highlighter is ignoring the last character when parsing the syntax. So if the last character is irrelevant, like a space, everything works fine. But if the last character is a non-whitespace, it breaks the highlighter.

This happens on other inline ruby elements:

image

You can see:

kreintjes commented 8 years ago

@mitch-sge I can't seem to reproduce this issue (in SublimeText 3 build 3126 with RubySlim v2016.06.25.06.05.06). Is it possible this is already fixed and thus this issue can be closed?

tshedor commented 7 years ago

@mitch-sge I'm going to close this out as it's been a while, and I cannot reproduce either. Please feel free to comment if you're able to reproduce it.