Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

vim crashes with AutoComplPop plugin

Tags:

vim

ruby

I use vim to edit the ruby files, but it crashes when I type ".".
I've found that it is caused by the AutoComplPop plugin. What I should do?

like image 532
Tang Weinan Avatar asked Jun 04 '12 02:06

Tang Weinan


1 Answers

I found a way to prevent the vim crashing using autocomplpop and filetype=ruby.

put the follow line in your .vimrc

let g:acp_behaviorRubyOmniMethodLength = -1

this will prevent autocomplpop trigger when you type the "." (period)

It isn't a fix. (I'm not a vim plugin programmer)

good luck!

like image 168
Pablo Bender Avatar answered Sep 28 '22 16:09

Pablo Bender