ftplugin/ruby.vim : Ruby filetype plugin with matchit, lots more
script karma |
Rating 32/16,
Downloaded by 5101 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
Ned Konz |
|
script type |
ftplugin |
|
description |
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. |
|
install details |
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 |
|
script versions (upload new version)
Click on the package to download.
ip used for rating: 142.132.191.50
|