syntax: Add easychair2 syntax definition
[vimconf.git] / syntax / easychair2.vim
1 " Vim syntax file
2 " Language: Easychair conference system review form
3 " Maintainer: Stefan Huber
4 "
5 "
6 " Changelog:
7 " 2010-12-12: Initial version
8 " 2024-01-08: Update to new syntax
9
10 " Quit when a syntax file was already loaded
11 if version < 600
12 syntax clear
13 elseif exists("b:current_syntax")
14 finish
15 endif
16
17 runtime! syntax/tex.vim
18
19 unlet! b:current_syntax
20
21 syn region ec2Section start="==\*==" end="$"
22 syn region ec2Subsection start="==+==" end="$"
23 syn region ec2Comment start="==-==" end="$"
24
25 hi def link ec2Comment Comment
26 hi def link ec2Section Directory
27 hi def link ec2Subsection Directory
28
29 let b:current_syntax = "easychair2"