Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dallas/135593 to your computer and use it in GitHub Desktop.
Save dallas/135593 to your computer and use it in GitHub Desktop.
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