sponsor Vim development Vim logo Vim Book Ad

Rackup : Syntax file for Rackup (config.ru) files

 script karma  Rating 1/1, Downloaded by 605  Comments, bugs, improvements  Vim wiki

created by
iain hecker
 
script type
syntax
 
description
It defines rackup files (*.ru) and turns on Ruby syntax highlighting on these files. Added "use" and "run" as keywords.

It also works nicely with tComment ( vimscript #1173 )

inspired by the Gemfile syntax file by ujihisa ( vimscript #2912 )

 
install details
You might want to add the file ~/.vim/ftdetect/Rackup.vim:
autocmd BufRead,BufNewFile *.ru set filetype=Rackup
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
Rackup.vim 1 2010-02-26 6.0 iain hecker Initial upload
ip used for rating: 216.73.216.130

Questions about Vim should go to the maillist. Help Uganda.     Vim at Github