aboutsummaryrefslogtreecommitdiff
path: root/extras
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2016-07-05 12:15:27 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2016-07-05 12:15:27 -0400
commit43b589693584c0a2cf68c49a87f5cc01b619f39f (patch)
treeea99959eeb33263a8e7b95a36267dc19128d2c98 /extras
parentc83c8e56a0468be0351c145d50d02cf4c7d3788f (diff)
downloadsteuermann-43b589693584c0a2cf68c49a87f5cc01b619f39f.tar.gz
Move vim script to "extras" directory
Diffstat (limited to 'extras')
-rw-r--r--extras/steuermann.vim22
1 files changed, 22 insertions, 0 deletions
diff --git a/extras/steuermann.vim b/extras/steuermann.vim
new file mode 100644
index 0000000..97c3b2f
--- /dev/null
+++ b/extras/steuermann.vim
@@ -0,0 +1,22 @@
+" To use syntax highlighting with vim:
+"
+" put this file in ~/.vim/syntax/steuermann.vim
+"
+" put this command in ~/.vimrc
+" autocmd BufRead,BufNewFile *.sm set filetype=steuermann
+
+syntax match Comment "#.*$"
+
+syntax keyword Keyword HOSTGROUP TABLE HOST CMD OPT AFTER RUN LOCAL
+syntax keyword Keyword IMPORT DEBUG
+
+syntax match IfClause "IF[^:]*:"
+
+highlight IfClause guifg=green ctermfg=2
+
+syntax match String "\"[^"]*\""
+
+syntax region PreProc start="CONDITIONS" end="[\s]*END[ \t]*\n"
+
+syntax sync fromstart
+