After upgrading to the latest version of aspell, whenever starting up vim, the vimspell plugin tries to do a find on my whole disk. This is due to the following line in the vimspell script: let l:dirs = system('aspell config | '. s:grep . ' "dict-dir current"') Unfortunatly, 'aspell config' does not report any 'dict-dir current' in its configuration anymore. This makes the directory vimspell should search for the same as the current directory, and away the find goes...
Hm. 0.50* gives: # dict-dir descrip: location of the main word list # dict-dir default: <prefix:lib/aspell> # dict-dir current: /usr/lib/aspell And 0.60* gives: # dict-dir (string) # location of the main word list # default: <data-dir> = /usr/lib/aspell-0.60 Yuck. I'll send an email to upstream and see if they have a fix for this already written.
Ok, looks like it's up to me to write the patch :) Shouldn't be too bad though, since it turns out we can do: 0.50*: ciaranm@snowdrop ~ 0 0.04 $ aspell config dict-dir /usr/lib/aspell 0.60*: ciaranm@snowdrop ~ 0 0.20 $ aspell config dict-dir /usr/lib/aspell-0.60
Created attachment 41361 [details, diff] gentoo-x86/app-vim/vimspell/files/vimspell-1.84-aspell-0.6.patch This should make it find the directories correctly again. but... It seems :SpellCheck is broken too with aspell 0.60. :SpellProposeAlternatives works fine here, but :SpellCheck always gives "Spell check done: 1 possible spell errors in 1 words.". Does this happen for anyone else?
Ok, the other problem is that aspell -l no longer works, so aspell list is required instead. I'll produce a patch for this that doesn't break ispell compatability.
Created attachment 42295 [details, diff] vimspell-1.84.patch this patch is dirty (i think) but working ! :) (i shall sand it to upstream)
Perfect, thanks. 1.84-r2 in the tree, please test.
Assuming that this is fixed. Please reopen if not.