tadast/sublime-rails-snippets — pull request #15 by bronson (2013-09-11 01:38:53+00:00)
Title: Fix escaping and unescaping evaluation characters

Haml syntax supports !=, &= and ! to change escaping for string interpolation: http://haml.info/docs/yardoc/file.REFERENCE.html#escaping_html

Problem is, this syntax file doesn't understand this and highlights the Ruby code as plain text. Ugly!

This set of patches fixes it. Submitted in separate patches so, despite the complexity of the regexes, the intent is perfectly clear.

Submitted to you because, alas, Sublime's Rails support is being neglected and now looks truly antique. I really hope your changes make it upstream!