[svn] r5638 - trunk/tools/asciidoc-vim

packagers at lists.rpmforge.net packagers at lists.rpmforge.net
Wed Jul 25 02:28:03 CEST 2007


Author: dag
Date: 2007-07-25 02:28:02 +0200 (Wed, 25 Jul 2007)
New Revision: 5638

Modified:
   trunk/tools/asciidoc-vim/asciidoc.vim
Log:
Updates

Modified: trunk/tools/asciidoc-vim/asciidoc.vim
===================================================================
--- trunk/tools/asciidoc-vim/asciidoc.vim	2007-07-24 16:44:44 UTC (rev 5637)
+++ trunk/tools/asciidoc-vim/asciidoc.vim	2007-07-25 00:28:02 UTC (rev 5638)
@@ -60,8 +60,6 @@
 syn match asciidocAdmonitionWarn "^\[\(CAUTION\|IMPORTANT\|WARNING\)\]\s*$"
 syn region asciidocVLabel start="^\s*" end="\S\(::\|;;\|:-\|??\)$" oneline
 syn region asciidocHLabel start="^\s*" end="\S\(::\|;;\)\s\+" oneline
-syn region asciidocDoubleDollarPassthrough start="\(^\|\W\)\@<=\$\$\S" end="\(\$\$\(\W\|$\)\@=\|^$\)"
-syn region asciidocTriplePlusPassthrough start="\(^\|\W\)\@<=+++\S" end="\(+++\(\W\|$\)\@=\|^$\)"
 
 "Attributes
 syn region asciidocAttributeEntry start="^:\a" end=":\(\s\|$\)" oneline
@@ -77,6 +75,7 @@
 syn region asciidocMacroAttributes matchgroup=asciidocMacro start="\w\(\w\|-\)*:\S\{-}\[" skip="\\\]" end="\]"
 syn region asciidocMacroAttributes matchgroup=asciidocIndexTerm start="(((?" end=")))\?"
 syn match asciidocMacroAttributes "\w\(\w\|-\)*:\S\{-}\[\]"
+"syn region asciidocMacroAttributes matchgroup=asciidocMacro start="\w\(\w\|-\)*:\S\{-}\[" end="\]"
 "syn match asciidocMacro "\[\[.*\]\]"
 "syn match asciidocMacro "((.*))"
 "syn match asciidocReference "<<\w\+>>"
@@ -239,7 +238,15 @@
 
 let b:current_syntax = "asciidoc"
 
+"Show tab and trailing characters
 set listchars=tab:»·,trail:·
 set list
 
+"
+"set textwidth=78 formatoptions=tcqn autoindent
+set formatoptions=tcqn autoindent
+set comments=s1:/*,ex:*/,://,b:#,:%,fb:-,fb:*,fb:.,fb:+,fb:>
+
+nnoremap Q gq}
+
 "eof




More information about the commits mailing list