简体   繁体   中英

gVim crash when running autocomplete in ruby file on win7

I am using gVim 7.3 and ruby 1.9.2 on Windows7 64bit

after I set the Omni completion func to rubycomplete#Complete, with the build-in rubycomplete.vim

whenever I call the Omni complete, the vim will crash.

the debug message is :Access violation reading location 0x00000020.

does anyone know what might cause this problem? or I should downgrade ruby to 1.8.7 that might avoid this bug?

The problem is because there's bug for ruby plugin in Vim version 7.3.46, http://www.mail-archive.com/vim_dev@googlegroups.com/msg12221.html

I download the latest build(7.3.107) from Wu Yon's website ( http://wyw.dcweb.cn/ ) overwrite the executable file in %VIM%/vim73, and the autocomplete works without crash.

Did you check that your Vim was compiled with Ruby support?

Check with...

:version

And look for +ruby

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM