I’ve read though a bunch of the vim-ruby posts in this group, and
others, and still can’t get my vim-ruby installation functioning
properly. Here is what I’ve done:
- Installed the latest vim-ruby from RubyForge
Did an “ruby gem vim-ruby”, ran the “vim-ruby-install.rb”.
Now, I have the necessary ruby’esque files in my VIM installation
I also confirmed that /usr/share/vim/vim63/filetype.vim has the proper
line that identifies ruby files by the given extensions (*.rb, *.gem,
- I then created a .vimrc file in my home directory, and added the
following, as per the instructions on the vim-ruby page:
filetype indent on
filetype plugin on
- Now, it doesn’t work.
When I vim a ruby file, it does have the proper colors, but when I hit
“Tab”, it inserts an actual Tab instead of 2 spaces, and things like
autocompleting “IF’s” doesn’t work by doing the Shift+Enter
So, the colors are correct… but nothing else !
Any help would be greatly appreciated !