Ver Fonte

Expanded the note in vim to better explain spell files

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/6.2/BOOK@7717 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Bruce Dubbs há 19 anos atrás
pai
commit
5f91d6ef18
3 ficheiros alterados com 27 adições e 3 exclusões
  1. 10 0
      chapter01/changelog.xml
  2. 16 2
      chapter06/vim.xml
  3. 1 1
      general.ent

+ 10 - 0
chapter01/changelog.xml

@@ -36,6 +36,16 @@
     </listitem>
 -->
 
+    <listitem>
+      <para>July 30, 2006</para>
+      <itemizedlist>
+        <listitem>
+          <para>[bdubbs] - Expanded the note in vim to better explain
+          spell files.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
     <listitem>
       <para>July 29, 2006</para>
       <itemizedlist>

+ 16 - 2
chapter06/vim.xml

@@ -187,9 +187,23 @@ EOF</userinput></screen>
 <screen role="nodump"><userinput>vim -c ':options'</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 role="nodump"><userinput>set spelllang=en,ru
+set spell</userinput></screen>
+      
+      <para>For more information, see the appropriate README file located 
+      at the the URL above.</para>
     </note>
 
   </sect2>

+ 1 - 1
general.ent

@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
-<!ENTITY version "6.2-pre2">
+<!ENTITY version "6.2-pre3">
 <!ENTITY releasedate "July 30, 2006">
 <!ENTITY milestone "6.2">
 <!ENTITY generic-version "6.2"> <!-- Use "development", "testing", or "x.y[-pre{x}]" -->