Author: robert
Date: 2007-03-27 23:31:56 -0600 (Tue, 27 Mar 2007)
New Revision: 1036
Modified:
branches/2.4-branch/BOOK/chapter01/changelog.xml
branches/2.4-branch/BOOK/chapter06/vim.xml
trunk/BOOK/chapter01/changelog.xml
trunk/BOOK/chapter06/vim.xml
Log:
Fix vimrc to set syntax only if /usr/share/vim exists. Thanks to Adam Kajer.
Modified: branches/2.4-branch/BOOK/chapter01/changelog.xml
===================================================================
--- branches/2.4-branch/BOOK/chapter01/changelog.xml 2007-03-28 05:19:52 UTC
(rev 1035)
+++ branches/2.4-branch/BOOK/chapter01/changelog.xml 2007-03-28 05:31:56 UTC
(rev 1036)
@@ -105,6 +105,9 @@
</listitem>
-->
+<listitem><para>March 28th, 2007 [Robert]: Fix vimrc to set syntax only if
+/usr/share/vim exists. Thanks to Adam Kajer.</para></listitem>
+
<listitem><para>March 28th, 2007 [Robert]: Removed BLFS
bootscripts.</para></listitem>
<listitem><para>March 28th, 2007 [Robert]: Added BC to chap5 for OpenSSL
Modified: branches/2.4-branch/BOOK/chapter06/vim.xml
===================================================================
--- branches/2.4-branch/BOOK/chapter06/vim.xml 2007-03-28 05:19:52 UTC (rev
1035)
+++ branches/2.4-branch/BOOK/chapter06/vim.xml 2007-03-28 05:31:56 UTC (rev
1036)
@@ -169,7 +169,11 @@
set nocompatible
set backspace=2
-syntax on
+if ("/usr/share/vim")
+ if has('syntax')
+ syntax on
+ endif
+endif
if (&term == "iterm") || (&term == "putty")
set background=dark
endif
Modified: trunk/BOOK/chapter01/changelog.xml
===================================================================
--- trunk/BOOK/chapter01/changelog.xml 2007-03-28 05:19:52 UTC (rev 1035)
+++ trunk/BOOK/chapter01/changelog.xml 2007-03-28 05:31:56 UTC (rev 1036)
@@ -107,6 +107,9 @@
</listitem>
-->
+<listitem><para>March 28th, 2007 [Robert]: Fix vimrc to set syntax only if
+/usr/share/vim exists. Thanks to Adam Kajer.</para></listitem>
+
<listitem><para>March 28th, 2007 [Robert]: Removed BLFS
bootscripts.</para></listitem>
<listitem><para>March 28th, 2007 [Robert]: Added BC to chap5 for OpenSSL
Modified: trunk/BOOK/chapter06/vim.xml
===================================================================
--- trunk/BOOK/chapter06/vim.xml 2007-03-28 05:19:52 UTC (rev 1035)
+++ trunk/BOOK/chapter06/vim.xml 2007-03-28 05:31:56 UTC (rev 1036)
@@ -174,7 +174,11 @@
set nocompatible
set backspace=2
-syntax on
+if ("/usr/share/vim")
+ if has('syntax')
+ syntax on
+ endif
+endif
if (&term == "iterm") || (&term == "putty")
set background=dark
endif
--
http://linuxfromscratch.org/mailman/listinfo/hlfs-book
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page