3 " Maintainer: Bram Moolenaar <Bram@vim.org>
4 " Last Change: 2005 Jun 20
6 " very basic things only (based on the vgrindefs file).
7 " If you use this language, please improve it, and send me the patches!
9 " Quit when a (custom) syntax file was already loaded
10 if exists("b:current_syntax")
15 syn keyword modelKeyword abs and array boolean by case cdnl char copied dispose
16 syn keyword modelKeyword div do dynamic else elsif end entry external FALSE false
17 syn keyword modelKeyword fi file for formal fortran global if iff ift in integer include
18 syn keyword modelKeyword inline is lbnd max min mod new NIL nil noresult not notin od of
19 syn keyword modelKeyword or procedure public read readln readonly record recursive rem rep
20 syn keyword modelKeyword repeat res result return set space string subscript such then TRUE
21 syn keyword modelKeyword true type ubnd union until varies while width
24 syn keyword modelBlock beginproc endproc
27 syn region modelComment start="\$" end="\$" end="$"
30 syn region modelString start=+"+ end=+"+
32 " Character constant (is this right?)
33 syn match modelString "'."
35 " Define the default highlighting.
36 " Only used when an item doesn't have highlighting yet
37 hi def link modelKeyword Statement
38 hi def link modelBlock PreProc
39 hi def link modelComment Comment
40 hi def link modelString String
42 let b:current_syntax = "model"