Mercurial > vim
comparison runtime/syntax/bib.vim @ 3237:91e53bcb7946
Updated runtime files.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Fri, 30 Dec 2011 13:11:27 +0100 |
parents | fd09a9c8468e |
children | c52a655d927d |
comparison
equal
deleted
inserted
replaced
3236:12a5ea0526b1 | 3237:91e53bcb7946 |
---|---|
1 " Vim syntax file | 1 " Vim syntax file |
2 " Language: BibTeX (bibliographic database format for (La)TeX) | 2 " Language: BibTeX (bibliographic database format for (La)TeX) |
3 " Maintainer: Bernd Feige <Bernd.Feige@gmx.net> | 3 " Maintainer: Bernd Feige <Bernd.Feige@gmx.net> |
4 " Filenames: *.bib | 4 " Filenames: *.bib |
5 " Last Change: Mar 23, 2011 | 5 " Last Change: 2011 Dec 25 |
6 | 6 |
7 " Thanks to those who pointed out problems with this file or supplied fixes! | 7 " Thanks to those who pointed out problems with this file or supplied fixes! |
8 | 8 |
9 " Initialization | 9 " Initialization |
10 " ============== | 10 " ============== |
13 if version < 600 | 13 if version < 600 |
14 syntax clear | 14 syntax clear |
15 elseif exists("b:current_syntax") | 15 elseif exists("b:current_syntax") |
16 finish | 16 finish |
17 endif | 17 endif |
18 | |
19 let s:cpo_save = &cpo | |
20 set cpo&vim | |
18 | 21 |
19 " Ignore case | 22 " Ignore case |
20 syn case ignore | 23 syn case ignore |
21 | 24 |
22 " Keywords | 25 " Keywords |
91 HiLink bibComment2 Comment | 94 HiLink bibComment2 Comment |
92 delcommand HiLink | 95 delcommand HiLink |
93 endif | 96 endif |
94 | 97 |
95 let b:current_syntax = "bib" | 98 let b:current_syntax = "bib" |
99 | |
100 let &cpo = s:cpo_save | |
101 unlet s:cpo_save |