diff options
Diffstat (limited to 'chapter06/vim.xml')
-rw-r--r-- | chapter06/vim.xml | 22 |
1 files changed, 20 insertions, 2 deletions
diff --git a/chapter06/vim.xml b/chapter06/vim.xml index 4d67ad037..c8b613b6a 100644 --- a/chapter06/vim.xml +++ b/chapter06/vim.xml @@ -59,6 +59,12 @@ <screen><userinput>patch -Np1 -i ../&vim-mandir-patch;</userinput></screen> + <para>There is an issue introduced by one of the upstream patches that + creates a problem downloading spellfiles via HTTP. Until this is updated + by the developers, the following patch fixes the problem:</para> + +<screen><userinput>patch -Np1 -i ../&vim-spellfile-patch;</userinput></screen> + <para>Finally, change the default location of the <filename>vimrc</filename> configuration file to <filename class="directory">/etc</filename>:</para> @@ -188,8 +194,20 @@ EOF</userinput></screen> <note> <para>By default, Vim only installs spell files for the English language. - To install spell files for your preferred language, please read the README - file located here: <ulink url="ftp://ftp.vim.org/pub/vim/runtime/spell/" /></para> + To install spell files for your preferred language, download the + <filename>*.spl</filename> and optionally, the <filename>*.sug</filename> + files for your language and character encoding from <ulink + url="ftp://ftp.vim.org/pub/vim/runtime/spell/"/> and and save them to + <filename class='directory'>/usr/share/vim/vim70/spell/</filename>.</para> + + <para>To use these spell files, some configuration in + <filename>/etc/vimrc</filename> is needed, e.g.:</para> + +<screen><literal>set spelllang=en,ru +set spell</literal></screen> + + <para>For more information, see the appropriate README file located + at the the URL above.</para> </note> </sect2> |