The bantuan menyatakan ini:
The plugin has a default place where to look for spell files, on the Vim ftp
server. If you want to use another location or another protocol, set the
g:spellfile_URL variable to the directory that holds the spell files. The
netrw plugin is used for getting the file, look there for the specific
syntax of the URL. Example:
let g:spellfile_URL = 'http://ftp.vim.org/vim/runtime/spell'
You may need to escape special characters.
The plugin will only ask about downloading a language once. If you want to
try again anyway restart Vim, or set g:spellfile_URL to another value (e.g.,
prepend a space).
Harap perhatikan bahwa pilihan default pada setiap interaksi adalah negatif.
Misalnya, berikut ini terjadi jika Anda memasukkan :set spelllang=fr
dan bahasa Prancis belum diinstal).
Cannot find spell file for "fr" in utf-8
Do you want me to try downloading it?
(Y)es, [N]o:
Tekan Yuntuk mengunduh bahasa mantra
Downloading fr.utf-8.spl...
:!curl 'http://ftp.vim.org/pub/vim/runtime/spell/fr.utf-8.spl' -o '/tmp/vu98ZTF/2.spl'
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
"/tmp/vu98ZTF/2.spl" [noeol] 1122L, 571626C
In which directory do you want to write the file:
1. /home/youruser/.vim/spell
[C]ancel, (1):
Hit 1(memukul Entermemilih Cancel
tindakan default )
This will improve making suggestions for spelling mistakes,
but it uses quite a bit of memory.
[N]o, (Y)es:
Hit Y(atau N/ Enter, itu pilihanmu)
Downloading fr.utf-8.sug...
:!curl 'http://ftp.vim.org/pub/vim/runtime/spell/fr.utf-8.sug' -o '/tmp/vu9
8ZTF/2.sug'
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 26 2269k 26 596k 0 0 651k 0 0:00:03 --:--:-- 0:00:03 6 64 2269k 64 1469k 0 0 767k 0 0:00:02 0:00:01 0:00:01 7"~/.vim/spell/fr.utf-8.sug" [New] 15706L, 2324315C written
Press ENTER or type command to continue
autocmd SpellFileMissing * call Download_spell_file(expand('<amatch>'))
dan kemudian melakukannya:set spell
muncul dengan kesalahan, tidak mengetahui fungsinyaDownload_spell_file
. Apakah saya satu-satunya?