Monday, October 31, 2016

Coo-Coo fix for my spell file error

I'm a longtime user of Vim on Linux (archlinux). Every time I open the app, I get an error about the spelling file.

$ vim
Warning: Cannot find word list "en.utf-8.spl" or "en.ascii.spl"
Warning: Cannot find word list "en.utf-8.spl" or "en.ascii.spl"
Warning: Cannot find word list "en.utf-8.spl" or "en.ascii.spl"
Press ENTER or type command to continue

My copy of Vim is up to date,

$ vim --version
VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Sep 15 2016 10:11:05)
Included patches: 1-5
Compiled by Arch Linux

$ sudo pacman -Ss vim | grep installed
extra/vim 8.0.0005-1 [installed]
extra/vim-runtime 8.0.0005-1 [installed]
community/ranger 1.7.2-1 [installed]

I posted this question on the new StackExchange site vi/vim[1], where a comment posted a link to a blog post suggesting I copy the spell file into my `~/.vim/spell` directory (I tried a soft link instead).

Sure enough, this worked. However, this raises the larger issue, is this right? I'm not a Vim developer, so take my comment with a grain of salt, but isn't the user's home directory of `.vim` supposed to be just for user files? Shouldn't the global spell file be loaded (and findable) at the application level?


[1]: http://vi.stackexchange.com/questions/10025/error-warning-cannot-find-word-list-is-this-a-user-or-package-error
[2]: http://abhipandey.com/2015/10/vim-cannot-find-word-list/

--
--
You received this message from the "vim_use" 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_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: