annotate runtime/syntax/art.vim @ 1440:93ffa40b5320 v7.1.155

updated for version 7.1-155
author vimboss
date Sat, 10 Nov 2007 21:51:15 +0000
parents 3fc0f57ecb91
children 91e53bcb7946
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
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2 " Language: ART-IM and ART*Enterprise
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3 " Maintainer: Dorai Sitaram <ds26@gte.com>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
4 " URL: http://www.ccs.neu.edu/~dorai/vimplugins/vimplugins.html
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5 " Last Change: Nov 6, 2002
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7 if exists("b:current_syntax")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8 finish
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11 syn case ignore
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13 syn keyword artspform => and assert bind
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14 syn keyword artspform declare def-art-fun deffacts defglobal defrule defschema do
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15 syn keyword artspform else for if in$ not or
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16 syn keyword artspform progn retract salience schema test then while
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18 syn match artvariable "?[^ \t";()|&~]\+"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20 syn match artglobalvar "?\*[^ \t";()|&~]\+\*"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22 syn match artinstance "![^ \t";()|&~]\+"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24 syn match delimiter "[()|&~]"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26 syn region string start=/"/ skip=/\\[\\"]/ end=/"/
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
27
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
28 syn match number "\<[-+]\=\([0-9]\+\(\.[0-9]*\)\=\|\.[0-9]\+\)\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
29
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
30 syn match comment ";.*$"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
31
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
32 syn match comment "#+:\=ignore" nextgroup=artignore skipwhite skipnl
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
33
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
34 syn region artignore start="(" end=")" contained contains=artignore,comment
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
35
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
36 syn region artignore start=/"/ skip=/\\[\\"]/ end=/"/ contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
37
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
38 hi def link artinstance type
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
39 hi def link artglobalvar preproc
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
40 hi def link artignore comment
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
41 hi def link artspform statement
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
42 hi def link artvariable function
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
43
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
44 let b:current_syntax = "art"