On May 30, 3:16 am, Xavier Wang <[email protected]> wrote:
> hi all,
>
> In a very long time I endure the slow auto-complete popup menu, and I don't
> know why. sometime in a small file (1000+ loc) the popup menu also very
> slow.
>
> I found maybe it coursed by foldmethod settings. when set fdm=syntax and
> using fold in syn region command, the popup will become slower and slower.
>
> has any other notice this behavior? Is that the point of the issue?
>

Lots of people have noticed it. It may even be in the FAQ (but I'm not
sure and don't care to check at the moment). The problem is syntax
folding (and syntax in general) is slow. Temporarily setting fdm to
manual while in insert mode mostly fixes the problem.

See http://vim.wikia.com/wiki/Keep_folds_closed_while_inserting_text
for how.

-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Raspunde prin e-mail lui