Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Syntax highlighting for Rails builders in TextMate (add to the Ruby on Rails language)
# This is now part of the Ruby on Rails bundle in my textmate_paraphernalia repository
{ match = '(\b(xml|css)\b\.)(\b\w+\b!?)?';
captures = {
2 = { name = 'variable.other.builder.rails'; };
3 = { name = 'function.other.builder.rails'; };
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.