Shougo / neocomplcache.vim

Ultimate auto-completion system for Vim.
http://www.vim.org/scripts/script.php?script_id=2620
1.72k stars 135 forks source link

freeze for a while and close opened folding when I begin to insert #368

Closed BeyondIM closed 11 years ago

BeyondIM commented 11 years ago

When I launch gvim and begin to insert some texts, it freeze for a while and close opened folding, then pumvisible list popup.

How to fix this issue? I don't want the opened folding get closed automaticly, which disturbs me seriously.

I captured the screen record and uploaded to youtube. http://www.youtube.com/watch?v=RjliRndDNA0

BeyondIM commented 11 years ago

It's my config file error, sorry.

l-bujakowski commented 11 years ago

Do you remember maybe what was causing this? I have the same problem.

BeyondIM commented 11 years ago

Remove 'foldlevel=0' from your modeline.

Shougo commented 11 years ago

I think you use 'foldmethod' is "expr". It is too heavy to use neocomplcache.

l-bujakowski commented 11 years ago

I have foldmethod=syntax, and in the file I'm editing there is no modeline. Foldlevel set to 1 in .vimrc. Does .vimrc modeline has anything to do when I'm editing a diffrent file and haven't opened .vimrc file in current session at all? Also I don't think I've changed any related settings, but I can't really recreate this bug anymore. Strange.

Shougo commented 11 years ago

I have foldmethod=syntax, and in the file I'm editing there is no modeline. Foldlevel set to 1 in .vimrc. Does .vimrc modeline has anything to do when I'm editing a diffrent file and haven't opened .vimrc file in current session at all?

"foldmethod=syntax" is also too heavy for auto completion.