-
Notifications
You must be signed in to change notification settings - Fork 335
Syntax Support
Hooopo edited this page Aug 7, 2013
·
7 revisions
To make Vim treat .rabl
files as .rb
files, add this in your vim configuration file:
au BufRead,BufNewFile *.rabl setf ruby
Additionally, if you want Vim to highlight RABL DSL methods, create a ~/.vim/after/plugin/rabl.vim
file with this content:
au BufRead,BufNewFile *.rabl syn keyword rubyRabl node attribute object child collection attributes glue extends
au BufRead,BufNewFile *.rabl hi def link rubyRabl Function
To make Sublime Text 2 treat .rabl
files as .rb
files, use rabl syntax highlighter