annotate runtime/syntax/crm.vim @ 10925:965446be9760

Added tag v8.0.0351 for changeset 053d4ad16f37ce482fbd1b612dc336e8947ccaab
author Christian Brabandt <cb@256bit.org>
date Thu, 23 Feb 2017 14:00:06 +0100
parents 1f3b1021f002
children 1218c5353e2b
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 " Vim syntax file
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
2 " Language: CRM114
839
1f3b1021f002 updated for version 7.0e05
vimboss
parents: 389
diff changeset
3 " Maintainer: Nikolai Weibull <now@bitwi.se>
1f3b1021f002 updated for version 7.0e05
vimboss
parents: 389
diff changeset
4 " Latest Revision: 2006-04-19
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
6 if exists("b:current_syntax")
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7 finish
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
10 let s:cpo_save = &cpo
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
11 set cpo&vim
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
13 syn keyword crmTodo contained TODO FIXME XXX NOTE
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14
389
4fe8e1a7758e updated for version 7.0102
vimboss
parents: 375
diff changeset
15 syn region crmComment display oneline start='#' end='\\#'
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
16 \ contains=crmTodo,@Spell
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
18 syn match crmVariable display ':[*#@]:[^:]\{-1,}:'
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
20 syn match crmSpecial display '\\\%(x\x\x\|o\o\o\o\|[]nrtabvf0>)};/\\]\)'
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
22 syn keyword crmStatement insert noop accept alius alter classify eval exit
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
23 syn keyword crmStatement fail fault goto hash intersect isolate input learn
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
24 syn keyword crmStatement liaf match output syscall trap union window
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
25
389
4fe8e1a7758e updated for version 7.0102
vimboss
parents: 375
diff changeset
26 syn region crmRegex start='/' skip='\\/' end='/' contains=crmVariable
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
27
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
28 syn match crmLabel display '^\s*:[[:graph:]]\+:'
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
29
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
30 hi def link crmTodo Todo
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
31 hi def link crmComment Comment
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
32 hi def link crmVariable Identifier
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
33 hi def link crmSpecial SpecialChar
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
34 hi def link crmStatement Statement
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
35 hi def link crmRegex String
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
36 hi def link crmLabel Label
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
37
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
38 let b:current_syntax = "crm"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
39
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
40 let &cpo = s:cpo_save
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
41 unlet s:cpo_save