TextMate syntax highlighting for YAML files with embedded ERB templates (.yml.erb, .yaml.erb).
- Full YAML syntax highlighting
- ERB tag recognition in all contexts (values, keys, strings, standalone lines)
- All ERB variants supported:
<%= %>,<% %>,<%# %>,<%- -%> - Multi-line ERB blocks
- Full Ruby syntax highlighting inside ERB tags
Clone or symlink to your TextMate Bundles directory:
git clone https://github.com/brianwarsing/yaml-erb.tmbundle.git \
~/Library/Application\ Support/TextMate/Bundles/YAML\ \(ERB\).tmbundleThen reload bundles in TextMate: Bundles → Bundle Editor → Reload Bundles
Automatically activates for:
*.yml.erb*.yaml.erb
MIT