]> Tony Duckles's Git Repositories (git.nynim.org) - dotfiles.git/blob - .vim/syntax/epicscript.vim
Merge remote-tracking branch 'origin/master' into epic
[dotfiles.git] / .vim / syntax / epicscript.vim
1 " Vim syntax file
2 " Language: Epic Release Script
3 " Maintainer: Tony Duckles
4 " Latest Revision: 10 Feb 2012
5
6 if exists("b:current_syntax")
7 finish
8 endif
9
10 " comments
11 syntax match scriptComment "^REM.*$"
12
13 " script init commands
14 syntax keyword scriptCommand NAME SETAPP CHECKKEY
15 " script control
16 syntax keyword scriptCommand STOP
17 " additional script control
18 syntax keyword scriptCommand SETOSDIR SETMDIR SETJOBS
19 " log control
20 syntax keyword scriptCommand NEWLOG SETLOG LOG
21 " general install commands
22 syntax keyword scriptCommand EXEC CONVERT JOB QCHKSUM
23 " general install load commands
24 syntax keyword scriptCommand UNPACK LOADROU LOADGLO LOADETAN LOADSQL LOADTX LOADSRPT IMPORT
25 " general install compile commands
26 syntax keyword scriptCommand CMLIB CMROU CMLIBFN CMROUITM CMROUDICT CMSCR CMSCRITM CMREC CMMENU CMTABLE CMQUERY CMTX
27 " general install update commands
28 syntax keyword scriptCommand UPDATEINDEX UPDATECAT UPDATEGRP UPDATEITEMTAB
29 " general ETAN commands
30 syntax keyword scriptCommand BUILDETAN NEWETAN SETETAN
31 " general install save commands
32 syntax keyword scriptCommand SAVEGLO SAVEROU SAVESQL SAVETX
33 " general install delete commands
34 syntax keyword scriptCommand DELROU DELREC DELSCR DELITM DELTAB DELDICT DELMENU DELGLO DELSI DELCAT DELSRPT DELTX DELBF
35
36 syntax match scriptParamNum '^\d\+' nextgroup=scriptParamDlm skipwhite
37 syntax match scriptParamDlm '\~' nextgroup=scriptParamVal contained skipwhite
38 syntax match scriptParamVal '.*' contained
39
40 hi def link scriptComment Comment
41 hi def link scriptCommand Type
42 hi def link scriptParamNum PreProc
43 hi def link scriptParamDlm Identifier
44 hi def link scriptParamVal Statement
45