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