codekingpro/portable-devtools
114k
1" Vim syntax file2" Language: ART-IM and ART*Enterprise3" Maintainer: Dorai Sitaram <ds26@gte.com>4" URL: http://www.ccs.neu.edu/~dorai/vimplugins/vimplugins.html5" Last Change: 2011 Dec 28 by Thilo Six6 7if exists("b:current_syntax")8 finish9endif10 11let s:cpo_save = &cpo12set cpo&vim13 14syn case ignore15 16syn keyword artspform => and assert bind17syn keyword artspform declare def-art-fun deffacts defglobal defrule defschema do18syn keyword artspform else for if in$ not or19syn keyword artspform progn retract salience schema test then while20 21syn match artvariable "?[^ \t";()|&~]\+"22 23syn match artglobalvar "?\*[^ \t";()|&~]\+\*"24 25syn match artinstance "![^ \t";()|&~]\+"26 27syn match delimiter "[()|&~]"28 29syn region string start=/"/ skip=/\\[\\"]/ end=/"/30 31syn match number "\<[-+]\=\([0-9]\+\(\.[0-9]*\)\=\|\.[0-9]\+\)\>"32 33syn match comment ";.*$"34 35syn match comment "#+:\=ignore" nextgroup=artignore skipwhite skipnl36 37syn region artignore start="(" end=")" contained contains=artignore,comment38 39syn region artignore start=/"/ skip=/\\[\\"]/ end=/"/ contained40 41hi def link artinstance type42hi def link artglobalvar preproc43hi def link artignore comment44hi def link artspform statement45hi def link artvariable function46 47let b:current_syntax = "art"48 49let &cpo = s:cpo_save50unlet s:cpo_save51 