Add support for :winpos
[MacVim.git] / runtime / syntax / art.vim
blobc1faddb1efb681b89ae8f17e2d9ffa009d80bacc
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
7 if exists("b:current_syntax")
8   finish
9 endif
11 syn case ignore
13 syn keyword artspform => and assert bind
14 syn keyword artspform declare def-art-fun deffacts defglobal defrule defschema do
15 syn keyword artspform else for if in$ not or
16 syn keyword artspform progn retract salience schema test then while
18 syn match artvariable "?[^ \t";()|&~]\+"
20 syn match artglobalvar "?\*[^ \t";()|&~]\+\*"
22 syn match artinstance "![^ \t";()|&~]\+"
24 syn match delimiter "[()|&~]"
26 syn region string start=/"/ skip=/\\[\\"]/ end=/"/
28 syn match number "\<[-+]\=\([0-9]\+\(\.[0-9]*\)\=\|\.[0-9]\+\)\>"
30 syn match comment ";.*$"
32 syn match comment "#+:\=ignore" nextgroup=artignore skipwhite skipnl
34 syn region artignore start="(" end=")" contained contains=artignore,comment
36 syn region artignore start=/"/ skip=/\\[\\"]/ end=/"/ contained
38 hi def link artinstance type
39 hi def link artglobalvar preproc
40 hi def link artignore comment
41 hi def link artspform statement
42 hi def link artvariable function
44 let b:current_syntax = "art"