danchoi / ri_vim

Browse Ruby documentation inside Vim
http://danielchoi.com/software/ri_vim.html
MIT License
15 stars 1 forks source link

ri_vim -d 'ActiveRecord::Base' never completes #5

Closed uberbrodt closed 12 years ago

uberbrodt commented 12 years ago

Whenever I try and do a search or tabcomplete on the ActiveRecord or ActiveRecord::Base class, it never completes and just ends up using all my system resources. You can try from the commandline like so:

ri_vim -d 'ActiveRecord::Base'

Other classes seem to work fine, and plugin functions normally otherwise. Thanks in advance for looking into this.

danchoi commented 12 years ago

Thanks for the bug report. What version of rdoc are you using?

danchoi commented 12 years ago

gem list rdoc

uberbrodt commented 12 years ago

rdoc (3.12, 3.8)

danchoi commented 12 years ago

Hi -- I just realized you're using the deprecated version. Can you uninstall ri_vim and install ri.vim, which is not a gem, but a regular Vim plugin?

https://github.com/danchoi/ri.vim

uberbrodt commented 12 years ago

Ahhhh, that seemed to work. As a note, it looks like the pull request I submitted for this version wasn't included in your re-factor. https://github.com/danchoi/ri_vim/commit/d2fb9a26148a198b92496bb962e4f2a747ddda3d

I'll do a new pull request