ftplugin/ruby.vim : Ruby filetype plugin with matchit, lots more
| script karma
Downloaded by 4222
Comments, bugs, improvements
script versions (upload new version)
|This is a pretty complete Ruby filetype script.
It provides for the use of matchit.vim, as well as setting the include path correctly (by calling ruby if you have it). It also deals with the possibility of :: in identifiers, both for tags and for finding keywords.
|Copy the script to your local (or global) ftplugin directory. This should be on your 'runtimepath'. On Unix systems, this could be in your ~/.vim/ftplugin directory.
The current stock ruby.vim shouldn't get in the way.
To get matchit.vim to work, you have to move it from the stock $VIMRUNTIME/macros to the $VIMRUNTIME/plugin directory. Or at least you have to have matchit.vim in a plugin directory on your runtimepath.
If you want to tweak the settings any, just make another ruby.vim in an ftplugin directory at the end of the runtimepath. On Unix systems, this would ordinarily be ~/.vim/after/ftplugin
Click on the package to download.
ip used for rating: 188.8.131.52