I am using vim's spell dictionary feature, and add these lines to my .vimrc set dictionary=~/.vim/dict/en_US.dic set complete+=k
Then I open vim and input le
, then input <ctrl+x>
and <ctrl+k>
. The auto complete show up correctly.
But when I delete le to null, the vim screen is frozen.
It seems vim keep scan dictionary and try to show all words in dictionary into the screen.
After about 3 minutes, vim will come back and show up a list of words.
screen copy as following:
Anyone know how to get rid of this?
You can try to hit CTRL C to interrupt the search for suggestion.
It works for most of the long processes freezing Vim.
There is also a spellsuggest
option that you can use to limit the size of the suggestion list. Using 10 as a max value might speed up the process at the cost of less results found.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With