From: Stefan Huber Date: Fri, 1 Mar 2019 20:58:26 +0000 (+0100) Subject: syntax: Add easychair review syntax X-Git-Url: https://git.sthu.org/?a=commitdiff_plain;h=7e8d988b2814970adb689a8f63f9763f2834556e;p=vimconf.git syntax: Add easychair review syntax --- diff --git a/ftdetect/easychair.vim b/ftdetect/easychair.vim new file mode 100644 index 0000000..3518e29 --- /dev/null +++ b/ftdetect/easychair.vim @@ -0,0 +1 @@ +au BufRead,BufNewFile review_form_*.txt set filetype=easychair diff --git a/syntax/easychair.vim b/syntax/easychair.vim new file mode 100644 index 0000000..e9e9f73 --- /dev/null +++ b/syntax/easychair.vim @@ -0,0 +1,27 @@ +" Vim syntax file +" Language: Easychair conference system review form +" Maintainer: Stefan Huber +" +" +" Changelog: +" 2010-12-12: Initial version + + + +" Quit when a syntax file was already loaded +if version < 600 + syntax clear +elseif exists("b:current_syntax") + finish +endif + + + +syn region ascComment start="---" end="$" +syn region ascSystem start="\*\*\*" end="$" + + +hi def link ascComment Comment +hi def link ascSystem Identifier + +