[svn] r6298 - trunk/tools/asciidoc-vim
packagers at lists.rpmforge.net
packagers at lists.rpmforge.net
Tue Apr 29 19:13:28 CEST 2008
Author: dag
Date: 2008-04-29 18:13:28 +0100 (Tue, 29 Apr 2008)
New Revision: 6298
Modified:
trunk/tools/asciidoc-vim/asciidoc.vim
Log:
set formatlistpat works only for vim 7 onwards.
Modified: trunk/tools/asciidoc-vim/asciidoc.vim
===================================================================
--- trunk/tools/asciidoc-vim/asciidoc.vim 2008-04-29 12:30:30 UTC (rev 6297)
+++ trunk/tools/asciidoc-vim/asciidoc.vim 2008-04-29 17:13:28 UTC (rev 6298)
@@ -245,8 +245,12 @@
"
"set textwidth=78 formatoptions=tcqn autoindent
set formatoptions=tcqn autoindent
-"Prevent simple numbers at the start of lines to be confused with list items:
-set formatlistpat=^\\s*\\d\\+\\.\\s\\+
+
+if version >= 700
+ "Prevent simple numbers at the start of lines to be confused with list items:
+ set formatlistpat=^\\s*\\d\\+\\.\\s\\+
+endif
+
set comments=s1:/*,ex:*/,://,b:#,:%,fb:-,fb:*,fb:.,fb:+,fb:>
"Typing "" inserts a pair of quotes (``'') and places the cursor between
More information about the svn-commits
mailing list