Monday, October 31, 2016

Re: Coo-Coo fix for my spell file error

On 2016-10-31, Xtian Simon wrote:
> 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

It looks like your 'runtimepath' and/or your $VIMRUNTIME variable
might be corrupt.

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

Since you know where your Vim runtime files reside, execute

:echo $VIMRUNTIME

and verify that its value matches your installation's runtime
directory (usually /usr/share/vim/vim80). Your spell files should
be visible with this command:

:!ls $VIMRUNTIME/spell

Then execute

:set rtp?

and verify that it contains the value of $VIMRUNTIME. The
'runtimepath' value might be easier to read with this command:

:echo substitute(&rtp, ',', '\n', 'g')

Regards,
Gary

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