diff options
author | Bram Moolenaar <Bram@vim.org> | 2005-08-19 20:40:30 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2005-08-19 20:40:30 +0000 |
commit | 8aff23a13e69dd6290e9a6f2c3aeb4b486f28279 (patch) | |
tree | 361a4567d1f0459e4efbe2b5d05db96991679251 /runtime/syntax/bib.vim | |
parent | 5195e45609b26b3d262a90822a2283a4adcf65c9 (diff) | |
download | vim-8aff23a13e69dd6290e9a6f2c3aeb4b486f28279.zip |
updated for version 7.0132
Diffstat (limited to 'runtime/syntax/bib.vim')
-rw-r--r-- | runtime/syntax/bib.vim | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/runtime/syntax/bib.vim b/runtime/syntax/bib.vim index a98f281d3..0cd534d5a 100644 --- a/runtime/syntax/bib.vim +++ b/runtime/syntax/bib.vim @@ -2,8 +2,7 @@ " Language: BibTeX (bibliographic database format for (La)TeX) " Maintainer: Bernd Feige <Bernd.Feige@gmx.net> " Filenames: *.bib -" Last Change: Apr 26, 2001 -" URL: http://home.t-online.de/home/Bernd.Feige/bib.vim +" Last Change: Aug 02, 2005 " Thanks to those who pointed out problems with this file or supplied fixes! @@ -47,7 +46,7 @@ syn cluster bibVarContents contains=bibUnescapedSpecial,bibBrace,bibParen syn match bibUnescapedSpecial contained /[^\\][%&]/hs=s+1 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 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 @@ -60,6 +59,7 @@ if version < 600 else syn region bibEntry start=/@\S\+[{(]/ end=/^\s*[})]/ transparent fold contains=bibType,bibEntryData nextgroup=bibComment endif +syn region bibComment2 start=/@Comment[{(]/ end=/^\s*@/me=e-1 contains=@bibCommentContents nextgroup=bibEntry " Synchronization " =============== @@ -86,6 +86,7 @@ if version >= 508 || !exists("did_bib_syn_inits") HiLink bibVariable Constant HiLink bibUnescapedSpecial Error HiLink bibComment Comment + HiLink bibComment2 Comment delcommand HiLink endif |