]> git.sthu.org Git - vimconf.git/commitdiff
syntax: Add easychair review syntax
authorStefan Huber <shuber@sthu.org>
Fri, 1 Mar 2019 20:58:26 +0000 (21:58 +0100)
committerStefan Huber <shuber@sthu.org>
Fri, 1 Mar 2019 20:58:26 +0000 (21:58 +0100)
ftdetect/easychair.vim [new file with mode: 0644]
syntax/easychair.vim [new file with mode: 0644]

diff --git a/ftdetect/easychair.vim b/ftdetect/easychair.vim
new file mode 100644 (file)
index 0000000..3518e29
--- /dev/null
@@ -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 (file)
index 0000000..e9e9f73
--- /dev/null
@@ -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
+
+