2016-11-11 4 views
0

vimの地域スペルファイルを取得するにはどうすればよいですか?私は欲しいスペル言語としてde_DE。助けはhttp://extensions.services.openoffice.org/dictionaryを使用して示唆しますが、私はそれらからスペルファイルを作成する方法を知りません。私もhttps://github.com/ganwell/vim-hunspell-dictsを見つけましたが、指示は役に立ちませんでした。vimでスペルファイルを取得する

答えて

0

Vimは親切自動的に不足しているspellfilesをダウンロードするspellfile.vimのプラグインが含まれています

:set spelllang=de_DE 
:set spell 
Cannot find spell file for "de" in utf-8 
Do you want me to try downloading it? 
(Y)es, [N]o: Y 
Downloading de.utf-8.spl... 
:!curl 'http://ftp.vim.org/pub/vim/runtime/spell/de.utf-8.spl' -o '/tmp/vRnqpoy/2.spl' 
    % Total % Received % Xferd Average Speed Time Time  Time Current 
           Dload Upload Total Spent Left Speed 
"/tmp/vRnqpoy/2.spl" [noeol] 5996L, 2388148C 
In which directory do you want to write the file: 
1. /home/martin/.vim/spell 
[C]ancel, (1): 1 
"~/.vim/spell/de.utf-8.spl" [New] 5996L, 2388149C written 

これはあなたのために動作しない場合は、プラグインは何もダウンロードされていない理由を確認するために:verbose set spellを使用してみてください。

関連する問題