annotate runtime/syntax/crm.vim @ 11791:40665c258263

Added tag v8.0.0777 for changeset 4dfebc1b267485a73487622ea13a28069da20680
author Christian Brabandt <cb@256bit.org>
date Wed, 26 Jul 2017 21:30:05 +0200
parents 1218c5353e2b
children
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
11062
1218c5353e2b Runtime file updates.
Christian Brabandt <cb@256bit.org>
parents: 839
diff changeset
2 " Language: CRM114
1218c5353e2b Runtime file updates.
Christian Brabandt <cb@256bit.org>
parents: 839
diff changeset
3 " Previous Maintainer: Nikolai Weibull <now@bitwi.se>
1218c5353e2b Runtime file updates.
Christian Brabandt <cb@256bit.org>
parents: 839
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