From 7e8d988b2814970adb689a8f63f9763f2834556e Mon Sep 17 00:00:00 2001 From: Stefan Huber Date: Fri, 1 Mar 2019 21:58:26 +0100 Subject: [PATCH] syntax: Add easychair review syntax --- ftdetect/easychair.vim | 1 + syntax/easychair.vim | 27 +++++++++++++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 ftdetect/easychair.vim create mode 100644 syntax/easychair.vim 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 + + -- 2.39.5