>> Once you have the file(s), you can put them in the spell/
>> directory somewhere in the runtime path as mentioned at
>>
>> :help spell-load
>
> Thats crazy, I have installed Vim (Gvim) but when i look in
> /hom/.vim or /home/gvim they are not here. Stil I can open Vi
> and work with it. Strange.
You might look at your 'runtimepath' settings:
:set rtp?
to see where vim & gvim would look for the resource files.
Usually there are system-wide directories such as below (taken
from my Debian box):
/home/tim/.vim,/var/lib/vim/addons,/usr/share/vim/vimfiles,
/usr/share/vim/vim72,/usr/share/vim/vimfiles/after,
/var/lib/vim/addons/after,/home/tim/.vim/after
My system-wide spell directory is in /usr/share/vim/vim72/spell/
and my local additions are in /home/tim/.vim/spell/
I don't know whether Vim maintains that directory (in which case
I wouldn't go dumping files in there), or if that's available for
dumping your own language files. Debian likely expects to have
free reign over most of those directories, but I'd expect that
something like /var/lib/vim/addons is reserved for local
additions. Or you can add to the 'rtp' setting in your
system-wide vimrc to ensure that some other location (such as
/usr/local/share/vim72/) is in your 'rtp' and then dump your
spelling files in a spell/ directory there.
-tim
--
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
No comments:
Post a Comment