annotate runtime/syntax/hog.vim @ 6334:fd4dc6581b0e v7.4.500

updated for version 7.4.500 Problem: Test 72 still fails once in a while. Solution: Don't set 'fileformat' to unix, reset it. (Ken Takata)
author Bram Moolenaar <bram@vim.org>
date Wed, 05 Nov 2014 16:39:28 +0100
parents 7bc41231fbc7
children 3ba0f29ba1d1
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1 " Snort syntax file
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2 " Language: Snort Configuration File (see: http://www.snort.org)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3 " Maintainer: Phil Wood, cornett@arpa.net
2034
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 7
diff changeset
4 " Last Change: $Date: 2004/06/13 17:41:17 $
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5 " Filenames: *.hog *.rules snort.conf vision.conf
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6 " URL: http://home.lanl.gov/cpw/vim/syntax/hog.vim
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7 " Snort Version: 1.8 By Martin Roesch (roesch@clark.net, www.snort.org)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8 " TODO include all 1.8 syntax
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10 " For version 5.x: Clear all syntax items
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11 if version < 600
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12 syntax clear
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13 elseif exists("b:current_syntax")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14 " For version 6.x: Quit when a syntax file was already loaded
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15 finish
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18 syn match hogComment +\s\#[^\-:.%#=*].*$+lc=1 contains=hogTodo,hogCommentString
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19 syn region hogCommentString contained oneline start='\S\s\+\#+'ms=s+1 end='\#'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21 syn match hogJunk "\<\a\+|\s\+$"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22 syn match hogNumber contained "\<\d\+\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23 syn region hogText contained oneline start='\S' end=',' skipwhite
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24 syn region hogTexts contained oneline start='\S' end=';' skipwhite
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26 " Environment Variables
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
27 " =====================
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
28 "syn match hogEnvvar contained "[\!]\=\$\I\i*"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
29 "syn match hogEnvvar contained "[\!]\=\${\I\i*}"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
30 syn match hogEnvvar contained "\$\I\i*"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
31 syn match hogEnvvar contained "[\!]\=\${\I\i*}"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
32
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
33
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
34 " String handling lifted from vim.vim written by Dr. Charles E. Campbell, Jr.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
35 " Try to catch strings, if nothing else matches (therefore it must precede the others!)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
36 " vmEscapeBrace handles ["] []"] (ie. stays as string)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
37 syn region hogEscapeBrace oneline contained transparent start="[^\\]\(\\\\\)*\[\^\=\]\=" skip="\\\\\|\\\]" end="\]"me=e-1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
38 syn match hogPatSep contained "\\[|()]"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
39 syn match hogNotPatSep contained "\\\\"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
40 syn region hogString oneline start=+[^:a-zA-Z\->!\\]"+hs=e+1 skip=+\\\\\|\\"+ end=+"\s*;+he=s-1 contains=hogEscapeBrace,hogPatSep,hogNotPatSep oneline
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
41 ""syn region hogString oneline start=+[^:a-zA-Z>!\\]'+lc=1 skip=+\\\\\|\\'+ end=+'+ contains=hogEscapeBrace,vimPatSep,hogNotPatSep
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
42 "syn region hogString oneline start=+=!+lc=1 skip=+\\\\\|\\!+ end=+!+ contains=hogEscapeBrace,hogPatSep,hogNotPatSep
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
43 "syn region hogString oneline start="=+"lc=1 skip="\\\\\|\\+" end="+" contains=hogEscapeBrace,hogPatSep,hogNotPatSep
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
44 "syn region hogString oneline start="[^\\]+\s*[^a-zA-Z0-9.]"lc=1 skip="\\\\\|\\+" end="+" contains=hogEscapeBrace,hogPatSep,hogNotPatSep
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
45 "syn region hogString oneline start="\s/\s*\A"lc=1 skip="\\\\\|\\+" end="/" contains=hogEscapeBrace,hogPatSep,hogNotPatSep
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
46 "syn match hogString contained +"[^"]*\\$+ skipnl nextgroup=hogStringCont
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
47 "syn match hogStringCont contained +\(\\\\\|.\)\{-}[^\\]"+
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
48
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
49
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
50 " Beginners - Patterns that involve ^
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
51 "
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
52 syn match hogLineComment +^[ \t]*#.*$+ contains=hogTodo,hogCommentString,hogCommentTitle
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
53 syn match hogCommentTitle '#\s*\u\a*\(\s\+\u\a*\)*:'ms=s+1 contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
54 syn keyword hogTodo contained TODO
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
55
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
56 " Rule keywords
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
57 syn match hogARPCOpt contained "\d\+,\*,\*"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
58 syn match hogARPCOpt contained "\d\+,\d\+,\*"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
59 syn match hogARPCOpt contained "\d\+,\*,\d\+"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
60 syn match hogARPCOpt contained "\d\+,\d\+,\d"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
61 syn match hogATAGOpt contained "session"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
62 syn match hogATAGOpt contained "host"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
63 syn match hogATAGOpt contained "dst"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
64 syn match hogATAGOpt contained "src"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
65 syn match hogATAGOpt contained "seconds"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
66 syn match hogATAGOpt contained "packets"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
67 syn match hogATAGOpt contained "bytes"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
68 syn keyword hogARespOpt contained rst_snd rst_rcv rst_all skipwhite
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
69 syn keyword hogARespOpt contained icmp_net icmp_host icmp_port icmp_all skipwhite
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
70 syn keyword hogAReactOpt contained block warn msg skipwhite
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
71 syn match hogAReactOpt contained "proxy\d\+" skipwhite
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
72 syn keyword hogAFOpt contained logto content_list skipwhite
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
73 syn keyword hogAIPOptVal contained eol nop ts sec lsrr lsrre satid ssrr rr skipwhite
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
74 syn keyword hogARefGrps contained arachnids skipwhite
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
75 syn keyword hogARefGrps contained bugtraq skipwhite
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
76 syn keyword hogARefGrps contained cve skipwhite
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
77 syn keyword hogSessionVal contained printable all skipwhite
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
78 syn match hogAFlagOpt contained "[0FSRPAUfsrpau21]\+" skipwhite
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
79 syn match hogAFragOpt contained "[DRMdrm]\+" skipwhite
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
80 "
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
81 " Output syslog options
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
82 " Facilities
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
83 syn keyword hogSysFac contained LOG_AUTH LOG_AUTHPRIV LOG_DAEMON LOG_LOCAL0
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
84 syn keyword hogSysFac contained LOG_LOCAL1 LOG_LOCAL2 LOG_LOCAL3 LOG_LOCAL4
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
85 syn keyword hogSysFac contained LOG_LOCAL5 LOG_LOCAL6 LOG_LOCAL7 LOG_USER
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
86 " Priorities
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
87 syn keyword hogSysPri contained LOG_EMERG ALERT LOG_CRIT LOG_ERR
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
88 syn keyword hogSysPri contained LOG_WARNING LOG_NOTICE LOG_INFO LOG_DEBUG
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
89 " Options
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
90 syn keyword hogSysOpt contained LOG_CONS LOG_NDELAY LOG_PERROR
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
91 syn keyword hogSysOpt contained LOG_PID
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
92 " RuleTypes
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
93 syn keyword hogRuleType contained log pass alert activate dynamic
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
94
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
95 " Output log_database arguments and parameters
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
96 " Type of database followed by ,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
97 " syn keyword hogDBSQL contained mysql postgresql unixodbc
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
98 " Parameters param=constant
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
99 " are just various constants assigned to parameter names
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
100
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
101 " Output log_database arguments and parameters
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
102 " Type of database followed by ,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
103 syn keyword hogDBType contained alert log
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
104 syn keyword hogDBSRV contained mysql postgresql unixodbc
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
105 " Parameters param=constant
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
106 " are just various constants assigned to parameter names
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
107 syn keyword hogDBParam contained dbname host port user password sensor_name
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
108
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
109 " Output xml arguments and parameters
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
110 " xml args
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
111 syn keyword hogXMLArg contained log alert
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
112 syn keyword hogXMLParam contained file protocol host port cert key ca server sanitize encoding detail
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
113 "
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
114 " hog rule handler '(.*)'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
115 syn region hogAOpt contained oneline start="rpc" end=":"me=e-1 nextgroup=hogARPCOptGrp skipwhite
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
116 syn region hogARPCOptGrp contained oneline start="."hs=s+1 end=";"me=e-1 contains=hogARPCOpt skipwhite
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
117
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
118 syn region hogAOpt contained oneline start="tag" end=":"me=e-1 nextgroup=hogATAGOptGrp skipwhite
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
119 syn region hogATAGOptGrp contained oneline start="."hs=s+1 skip="," end=";"me=e-1 contains=hogATAGOpt,hogNumber skipwhite
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
120 "
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
121 syn region hogAOpt contained oneline start="nocase\|sameip" end=";"me=e-1 skipwhite oneline keepend
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
122 "
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
123 syn region hogAOpt contained start="resp" end=":"me=e-1 nextgroup=hogARespOpts skipwhite
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
124 syn region hogARespOpts contained oneline start="." end="[,;]" contains=hogARespOpt skipwhite nextgroup=hogARespOpts
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
125 "
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
126 syn region hogAOpt contained start="react" end=":"me=e-1 nextgroup=hogAReactOpts skipwhite
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
127 syn region hogAReactOpts contained oneline start="." end="[,;]" contains=hogAReactOpt skipwhite nextgroup=hogAReactOpts
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
128
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
129 syn region hogAOpt contained oneline start="depth\|seq\|ttl\|ack\|icmp_seq\|activates\|activated_by\|dsize\|icode\|icmp_id\|count\|itype\|tos\|id\|offset" end=":"me=e-1 nextgroup=hogANOptGrp skipwhite
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
130 syn region hogANOptGrp contained oneline start="."hs=s+1 end=";"me=e-1 contains=hogNumber skipwhite oneline keepend
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
131
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
132 syn region hogAOpt contained oneline start="classtype" end=":"me=e-1 nextgroup=hogAFileGrp skipwhite
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
133
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
134 syn region hogAOpt contained oneline start="regex\|msg\|content" end=":"me=e-1 nextgroup=hogAStrGrp skipwhite
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
135 "syn region hogAStrGrp contained oneline start=+:\s*"+hs=s+1 skip="\\;" end=+"\s*;+he=s-1 contains=hogString skipwhite oneline keepend
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
136 syn region hogAStrGrp contained oneline start=+:\s*"\|:"+hs=s+1 skip="\\;" end=+"\s*;+he=s-1 contains=hogString skipwhite oneline keepend
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
137
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
138 syn region hogAOpt contained oneline start="logto\|content-list" end=":"me=e-1 nextgroup=hogAFileGrp skipwhite
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
139 syn region hogAFileGrp contained oneline start="."hs=s+1 end=";"me=e-1 contains=hogFileName skipwhite
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
140
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
141 syn region hogAOpt contained oneline start="reference" end=":"me=e-1 nextgroup=hogARefGrp skipwhite
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
142 syn region hogARefGrp contained oneline start="."hs=s+1 end=","me=e-1 contains=hogARefGrps nextgroup=hogARefName skipwhite
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
143 syn region hogARefName contained oneline start="."hs=s+1 end=";"me=e-1 contains=hogString,hogFileName,hogNumber skipwhite
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
144
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
145 syn region hogAOpt contained oneline start="flags" end=":"he=s-1 nextgroup=hogAFlagOpt skipwhite oneline keepend
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
146
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
147 syn region hogAOpt contained oneline start="fragbits" end=":"he=s-1 nextgroup=hogAFlagOpt skipwhite oneline keepend
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
148
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
149 syn region hogAOpt contained oneline start="ipopts" end=":"he=s-1 nextgroup=hogAIPOptVal skipwhite oneline keepend
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
150
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
151 "syn region hogAOpt contained oneline start="." end=":"he=s-1 contains=hogAFOpt nextgroup=hogFileName skipwhite
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
152
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
153 syn region hogAOpt contained oneline start="session" end=":"he=s-1 nextgroup=hogSessionVal skipwhite
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
154
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
155 syn match nothing "$"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
156 syn region hogRules oneline contains=nothing start='$' end="$"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
157 syn region hogRules oneline contains=hogRule start='('ms=s+1 end=")\s*$" skipwhite
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
158 syn region hogRule contained oneline start="." skip="\\;" end=";"he=s-1 contains=hogAOpts, skipwhite keepend
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
159 "syn region hogAOpts contained oneline start="." end="[;]"he=s-1 contains=hogAOpt skipwhite
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
160 syn region hogAOpts contained oneline start="." end="[;]"me=e-1 contains=hogAOpt skipwhite
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
161
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
162
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
163 " ruletype command
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
164 syn keyword hogRTypeStart skipwhite ruletype nextgroup=hogRuleName skipwhite
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
165 syn region hogRuleName contained start="." end="\s" contains=hogFileName nextgroup=hogRTypeRegion
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
166 " type ruletype sub type
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
167 syn region hogRtypeRegion contained start="{" end="}" nextgroup=hogRTypeStart
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
168 syn keyword hogRTypeStart skipwhite type nextgroup=hogRuleTypes skipwhite
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
169 syn region hogRuleTypes contained start="." end="\s" contains=hogRuleType nextgroup=hogOutStart
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
170
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
171
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
172 " var command
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
173 syn keyword hogVarStart skipwhite var nextgroup=hogVarIdent skipwhite
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
174 syn region hogVarIdent contained start="."hs=e+1 end="\s\+"he=s-1 contains=hogEnvvar nextgroup=hogVarRegion skipwhite
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
175 syn region hogVarRegion contained oneline start="." contains=hogIPaddr,hogEnvvar,hogNumber,hogString,hogFileName end="$"he=s-1 keepend skipwhite
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
176
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
177 " config command
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
178 syn keyword hogConfigStart config skipwhite nextgroup=hogConfigType
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
179 syn match hogConfigType contained "\<classification\>" nextgroup=hogConfigTypeRegion skipwhite
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
180 syn region hogConfigTypeRegion contained oneline start=":"ms=s+1 end="$" contains=hogNumber,hogText keepend skipwhite
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
181
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
182
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
183 " include command
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
184 syn keyword hogIncStart include skipwhite nextgroup=hogIncRegion
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
185 syn region hogIncRegion contained oneline start="\>" contains=hogFileName,hogEnvvar end="$" keepend
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
186
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
187 " preprocessor command
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
188 " http_decode, minfrag, portscan[-ignorehosts]
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
189 syn keyword hogPPrStart preprocessor skipwhite nextgroup=hogPPr
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
190 syn match hogPPr contained "\<spade\>" nextgroup=hogPPrRegion skipwhite
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
191 syn match hogPPr contained "\<spade-homenet\>" nextgroup=hogPPrRegion skipwhite
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
192 syn match hogPPr contained "\<spade-threshlearn\>" nextgroup=hogPPrRegion skipwhite
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
193 syn match hogPPr contained "\<spade-adapt\>" nextgroup=hogPPrRegion skipwhite
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
194 syn match hogPPr contained "\<spade-adapt2\>" nextgroup=hogPPrRegion skipwhite
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
195 syn match hogPPr contained "\<spade-adapt3\>" nextgroup=hogPPrRegion skipwhite
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
196 syn match hogPPr contained "\<spade-survey\>" nextgroup=hogPPrRegion skipwhite
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
197 syn match hogPPr contained "\<defrag\>" nextgroup=hogPPrRegion skipwhite
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
198 syn match hogPPr contained "\<telnet_decode\>" nextgroup=hogPPrRegion skipwhite
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
199 syn match hogPPr contained "\<rpc_decode\>" nextgroup=hogPPrRegion skipwhite
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
200 syn match hogPPr contained "\<bo\>" nextgroup=hogPPrRegion skipwhite
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
201 syn match hogPPr contained "\<stream\>" nextgroup=hogStreamRegion skipwhite
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
202 syn match hogPPr contained "\<stream2\>" nextgroup=hogStreamRegion skipwhite
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
203 syn match hogPPr contained "\<stream3\>" nextgroup=hogStreamRegion skipwhite
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
204 syn match hogPPr contained "\<http_decode\>" nextgroup=hogPPrRegion skipwhite
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
205 syn match hogPPr contained "\<minfrag\>" nextgroup=hogPPrRegion skipwhite
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
206 syn match hogPPr contained "\<portscan[-ignorehosts]*\>" nextgroup=hogPPrRegion skipwhite
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
207 syn region hogPPrRegion contained oneline start="$" end="$" keepend
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
208 syn region hogPPrRegion contained oneline start=":" end="$" contains=hogNumber,hogIPaddr,hogEnvvar,hogFileName keepend
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
209 syn keyword hogStreamArgs contained timeout ports maxbytes
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
210 syn region hogStreamRegion contained oneline start=":" end="$" contains=hogStreamArgs,hogNumber
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
211
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
212 " output command
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
213 syn keyword hogOutStart output nextgroup=hogOut skipwhite
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
214 "
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
215 " alert_syslog
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
216 syn match hogOut contained "\<alert_syslog\>" nextgroup=hogSyslogRegion skipwhite
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
217 syn region hogSyslogRegion contained start=":" end="$" contains=hogSysFac,hogSysPri,hogSysOpt,hogEnvvar oneline skipwhite keepend
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
218 "
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
219 " alert_fast (full,smb,unixsock, and tcpdump)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
220 syn match hogOut contained "\<alert_fast\|alert_full\|alert_smb\|alert_unixsock\|log_tcpdump\>" nextgroup=hogLogFileRegion skipwhite
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
221 syn region hogLogFileRegion contained start=":" end="$" contains=hogFileName,hogEnvvar oneline skipwhite keepend
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
222 "
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
223 " database
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
224 syn match hogOut contained "\<database\>" nextgroup=hogDBTypes skipwhite
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
225 syn region hogDBTypes contained start=":" end="," contains=hogDBType,hogEnvvar nextgroup=hogDBSRVs skipwhite
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
226 syn region hogDBSRVs contained start="\s\+" end="," contains=hogDBSRV nextgroup=hogDBParams skipwhite
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
227 syn region hogDBParams contained start="." end="="me=e-1 contains=hogDBParam nextgroup=hogDBValues
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
228 syn region hogDBValues contained start="." end="\>" contains=hogNumber,hogEnvvar,hogAscii nextgroup=hogDBParams oneline skipwhite
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
229 syn match hogAscii contained "\<\a\+"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
230 "
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
231 " log_tcpdump
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
232 syn match hogOut contained "\<log_tcpdump\>" nextgroup=hogLogRegion skipwhite
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
233 syn region hogLogRegion oneline start=":" skipwhite end="$" contains=hogEnvvar,hogFileName keepend
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
234 "
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
235 " xml
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
236 syn keyword hogXMLTrans contained http https tcp iap
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
237 syn match hogOut contained "\<xml\>" nextgroup=hogXMLRegion skipwhite
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
238 syn region hogXMLRegion contained start=":" end="," contains=hogXMLArg,hogEnvvar nextgroup=hogXMLParams skipwhite
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
239 "syn region hogXMLParams contained start="." end="="me=e-1 contains=hogXMLProto nextgroup=hogXMLProtos
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
240 "syn region hogXMLProtos contained start="." end="\>" contains=hogXMLTrans nextgroup=hogXMLParams
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
241 syn region hogXMLParams contained start="." end="="me=e-1 contains=hogXMLParam nextgroup=hogXMLValue
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
242 syn region hogXMLValue contained start="." end="\>" contains=hogNumber,hogIPaddr,hogEnvvar,hogAscii,hogFileName nextgroup=hogXMLParams oneline skipwhite keepend
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
243 "
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
244 " Filename
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
245 syn match hogFileName contained "[-./[:alnum:]_~]\+"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
246 syn match hogFileName contained "[-./[:alnum:]_~]\+"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
247 " IP address
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
248 syn match hogIPaddr "\<\d\{1,3}\.\d\{1,3}\.\d\{1,3}\.\d\{1,3}\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
249 syn match hogIPaddr "\<\d\{1,3}\.\d\{1,3}\.\d\{1,3}\.\d\{1,3}/\d\{1,2}\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
250
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
251 syn keyword hogProto tcp TCP ICMP icmp udp UDP
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
252
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
253 " hog alert address port pairs
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
254 " hog IPaddresses
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
255 syn match hogIPaddrAndPort contained "\<\d\{1,3}\.\d\{1,3}\.\d\{1,3}\.\d\{1,3}\>" skipwhite nextgroup=hogPort
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
256 syn match hogIPaddrAndPort contained "\<\d\{1,3}\.\d\{1,3}\.\d\{1,3}\.\d\{1,3}/\d\{1,2}\>" skipwhite nextgroup=hogPort
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
257 syn match hogIPaddrAndPort contained "\<any\>" skipwhite nextgroup=hogPort
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
258 syn match hogIPaddrAndPort contained "\$\I\i*" nextgroup=hogPort skipwhite
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
259 syn match hogIPaddrAndPort contained "\${\I\i*}" nextgroup=hogPort skipwhite
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
260 "syn match hogPort contained "[\!]\=[\:]\=\d\+L\=\>" skipwhite
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
261 syn match hogPort contained "[\:]\=\d\+\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
262 syn match hogPort contained "[\!]\=\<any\>" skipwhite
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
263 syn match hogPort contained "[\!]\=\d\+L\=:\d\+L\=\>" skipwhite
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
264
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
265 " action commands
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
266 syn keyword hog7Functions activate skipwhite nextgroup=hogActRegion
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
267 syn keyword hog7Functions dynamic skipwhite nextgroup=hogActRegion
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
268 syn keyword hogActStart alert skipwhite nextgroup=hogActRegion
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
269 syn keyword hogActStart log skipwhite nextgroup=hogActRegion
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
270 syn keyword hogActStart pass skipwhite nextgroup=hogActRegion
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
271
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
272 syn region hogActRegion contained oneline start="tcp\|TCP\|udp\|UDP\|icmp\|ICMP" end="\s\+"me=s-1 nextgroup=hogActSource oneline keepend skipwhite
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
273 syn region hogActSource contained oneline contains=hogIPaddrAndPort start="\s\+"ms=e+1 end="->\|<>"me=e-2 oneline keepend skipwhite nextgroup=hogActDest
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
274 syn region hogActDest contained oneline contains=hogIPaddrAndPort start="->\|<>" end="$" oneline keepend
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
275 syn region hogActDest contained oneline contains=hogIPaddrAndPort start="->\|<>" end="("me=e-1 oneline keepend skipwhite nextgroup=hogRules
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
276
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
277
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
278 " ====================
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
279 if version >= 508 || !exists("did_hog_syn_inits")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
280 if version < 508
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
281 let did_hog_syn_inits = 1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
282 command -nargs=+ HiLink hi link <args>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
283 else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
284 command -nargs=+ HiLink hi def link <args>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
285 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
286 " The default methods for highlighting. Can be overridden later
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
287 HiLink hogComment Comment
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
288 HiLink hogLineComment Comment
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
289 HiLink hogAscii Constant
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
290 HiLink hogCommentString Constant
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
291 HiLink hogFileName Constant
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
292 HiLink hogIPaddr Constant
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
293 HiLink hogNotPatSep Constant
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
294 HiLink hogNumber Constant
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
295 HiLink hogText Constant
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
296 HiLink hogString Constant
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
297 HiLink hogSysFac Constant
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
298 HiLink hogSysOpt Constant
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
299 HiLink hogSysPri Constant
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
300 " HiLink hogAStrGrp Error
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
301 HiLink hogJunk Error
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
302 HiLink hogEnvvar Identifier
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
303 HiLink hogIPaddrAndPort Identifier
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
304 HiLink hogVarIdent Identifier
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
305 HiLink hogATAGOpt PreProc
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
306 HiLink hogAIPOptVal PreProc
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
307 HiLink hogARespOpt PreProc
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
308 HiLink hogAReactOpt PreProc
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
309 HiLink hogAFlagOpt PreProc
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
310 HiLink hogAFragOpt PreProc
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
311 HiLink hogCommentTitle PreProc
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
312 HiLink hogDBType PreProc
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
313 HiLink hogDBSRV PreProc
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
314 HiLink hogPort PreProc
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
315 HiLink hogARefGrps PreProc
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
316 HiLink hogSessionVal PreProc
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
317 HiLink hogXMLArg PreProc
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
318 HiLink hogARPCOpt PreProc
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
319 HiLink hogPatSep Special
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
320 HiLink hog7Functions Statement
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
321 HiLink hogActStart Statement
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
322 HiLink hogIncStart Statement
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
323 HiLink hogConfigStart Statement
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
324 HiLink hogOutStart Statement
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
325 HiLink hogPPrStart Statement
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
326 HiLink hogVarStart Statement
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
327 HiLink hogRTypeStart Statement
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
328 HiLink hogTodo Todo
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
329 HiLink hogRuleType Type
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
330 HiLink hogAFOpt Type
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
331 HiLink hogANoVal Type
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
332 HiLink hogAStrOpt Type
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
333 HiLink hogANOpt Type
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
334 HiLink hogAOpt Type
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
335 HiLink hogDBParam Type
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
336 HiLink hogStreamArgs Type
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
337 HiLink hogOut Type
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
338 HiLink hogPPr Type
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
339 HiLink hogConfigType Type
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
340 HiLink hogActRegion Type
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
341 HiLink hogProto Type
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
342 HiLink hogXMLParam Type
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
343 HiLink resp Todo
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
344 HiLink cLabel Label
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
345 delcommand HiLink
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
346 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
347
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
348 let b:current_syntax = "hog"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
349
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
350 " hog: cpw=59