Gary Johnson wrote:

> I just noticed that it is suddenly taking several seconds for Vim to
> execute z=.  In the following example, it takes 10 seconds from
> the time I type z= until the list of suggestions is displayed.
> 
>     $ echo cscope | vim -N -u NONE -c 'set spell' -
> 
> I think it is due to the spelling dictionary rather than Vim itself
> because:  I use z= frequently; I just noticed this delay today; and
> versions of Vim back to 7.4.567 (c. January 2015) but using current
> (7.4.1051) runtime files exhibit the same delay.  The display of
> suggestions used to happen almost instantaneously.  I checked a Red
> Hat 7.1 distribution's /usr/bin/vim, which is version 7.4.160 and
> uses its own runtime files, and it displays the suggestion list
> immediately after z=.
> 
> I see this on two installations of Vim on different Linux systems,
> one with 7.4.1051 installed and the other with 7.4.1046 installed.
> Some informal experimentation indicates that the delay is
> proportional to the length of the word being looked up.

This may be because I have updated the spell file generation to use new
dictionaries.  There is no patch for this change, there is a git submit:
https://github.com/vim/vim/commit/cc7ff3fcd8c8fd7da6faac98a138b830ec5c00d8

You could get the .spl files from before this commit and check that this
fixes your problem.

If that does fix it, I'm not sure what to do.  Perhaps we should drop
support for en_AU and en_NZ, since these are not available as a new
version.  However, the en_CA and en_GB .dic files are already very
different. E.g. "Zuckerberg" is only in en_GB.dic.  We may have to just
go back to the old word lists.

-- 
Why don't cannibals eat clowns?
Because they taste funny.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
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

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui