r280 - trunk/vim/debian/patches

Stefano Zacchiroli zack at costa.debian.org
Tue Aug 2 08:53:43 UTC 2005


Author: zack
Date: 2005-08-02 08:53:42 +0000 (Tue, 02 Aug 2005)
New Revision: 280

Modified:
   trunk/vim/debian/patches/132_bib.vim.diff
Log:
better handling of bibtex comments, @Comment{...} kind of comments not yet properly handled


Modified: trunk/vim/debian/patches/132_bib.vim.diff
===================================================================
--- trunk/vim/debian/patches/132_bib.vim.diff	2005-08-01 20:53:15 UTC (rev 279)
+++ trunk/vim/debian/patches/132_bib.vim.diff	2005-08-02 08:53:42 UTC (rev 280)
@@ -6,7 +6,7 @@
  syn match bibKey contained /\s*[^ \t}="]\+,/hs=s,he=e-1 nextgroup=bibField
  syn match bibVariable contained /[^{}," \t=]/
 -syn region bibComment start=/^/ end=/^\s*@/me=e-1 contains=@bibCommentContents nextgroup=bibEntry
-+syn region bibComment start=/[%^]/ end=/^\s*@/me=e-1 contains=@bibCommentContents nextgroup=bibEntry
++syn region bibComment start=/./ end=/^\s*@/me=e-1 contains=@bibCommentContents nextgroup=bibEntry
  syn region bibQuote contained start=/"/ end=/"/ skip=/\(\\"\)/ contains=@bibVarContents
  syn region bibBrace contained start=/{/ end=/}/ skip=/\(\\[{}]\)/ contains=@bibVarContents
  syn region bibParen contained start=/(/ end=/)/ skip=/\(\\[()]\)/ contains=@bibVarContents




More information about the pkg-vim-maintainers mailing list