aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/vim.xml
diff options
context:
space:
mode:
authorManuel Canales Esparcia <manuel@linuxfromscratch.org>2006-08-03 19:29:29 +0000
committerManuel Canales Esparcia <manuel@linuxfromscratch.org>2006-08-03 19:29:29 +0000
commitc226182dc5ff37f733c895ab16483ebd37c02bcc (patch)
tree82a9abff83df5aa35fec4fd1539091cfb7920ef2 /chapter06/vim.xml
parenta15464dfe656aec48ced77b2ded760f0cc639ad7 (diff)
Ported updates from 6.2 branch.
Small tags fixes. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@7758 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/vim.xml')
-rw-r--r--chapter06/vim.xml22
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>