3 " Maintainer: Nikolai Weibull <now@bitwi.se>
4 " Latest Revision: 2006-04-19
6 if exists("b:current_syntax")
13 syn keyword crmTodo contained TODO FIXME XXX NOTE
15 syn region crmComment display oneline start='#' end='\\#'
16 \ contains=crmTodo,@Spell
18 syn match crmVariable display ':[*#@]:[^:]\{-1,}:'
20 syn match crmSpecial display '\\\%(x\x\x\|o\o\o\o\|[]nrtabvf0>)};/\\]\)'
22 syn keyword crmStatement insert noop accept alius alter classify eval exit
23 syn keyword crmStatement fail fault goto hash intersect isolate input learn
24 syn keyword crmStatement liaf match output syscall trap union window
26 syn region crmRegex start='/' skip='\\/' end='/' contains=crmVariable
28 syn match crmLabel display '^\s*:[[:graph:]]\+:'
30 hi def link crmTodo Todo
31 hi def link crmComment Comment
32 hi def link crmVariable Identifier
33 hi def link crmSpecial SpecialChar
34 hi def link crmStatement Statement
35 hi def link crmRegex String
36 hi def link crmLabel Label
38 let b:current_syntax = "crm"