sponsor Vim development Vim logo Vim Book Ad

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

 script karma  Rating 1/1, Downloaded by 483  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: 18.191.228.88

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github