aboutsummaryrefslogtreecommitdiff
path: root/extras/steuermann.vim
blob: 97c3b2fe6db59a37ffff4b59646fe5e427f43eb1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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