vim: update release.sh to vim 7.3
[msysgit/mtrensch.git] / share / vim / vim72 / syntax / sindacmp.vim
blob87b483409a472a4f5fb193846fa110fdf18c5eaa
1 " Vim syntax file
2 " Language:     sinda85, sinda/fluint compare file
3 " Maintainer:   Adrian Nagle, anagle@ball.com
4 " Last Change:  2003 May 11
5 " Filenames:    *.cmp
6 " URL:          http://www.naglenet.org/vim/syntax/sindacmp.vim
7 " MAIN URL:     http://www.naglenet.org/vim/
11 " For version 5.x: Clear all syntax items
12 " For version 6.x: Quit when a syntax file was already loaded
13 if version < 600
14   syntax clear
15 elseif exists("b:current_syntax")
16   finish
17 endif
21 " Ignore case
22 syn case ignore
27 " Begin syntax definitions for compare files.
30 " Define keywords for sinda compare (sincomp)
31 syn keyword sindacmpUnit     celsius fahrenheit
35 " Define matches for sinda compare (sincomp)
36 syn match  sindacmpTitle       "Steady State Temperature Comparison"
38 syn match  sindacmpLabel       "File  [1-6] is"
40 syn match  sindacmpHeader      "^ *Node\( *File  \d\)* *Node Description"
42 syn match  sindacmpInteger     "^ *-\=\<[0-9]*\>"
43 syn match  sindacmpFloat       "-\=\<[0-9]*\.[0-9]*"
47 " Define the default highlighting
48 " For version 5.7 and earlier: only when not done already
49 " For version 5.8 and later: only when an item doesn't have highlighting yet
50 if version >= 508 || !exists("did_sindacmp_syntax_inits")
51   if version < 508
52     let did_sindacmp_syntax_inits = 1
53     command -nargs=+ HiLink hi link <args>
54   else
55     command -nargs=+ HiLink hi def link <args>
56   endif
58   HiLink sindacmpTitle               Type
59   HiLink sindacmpUnit                PreProc
61   HiLink sindacmpLabel               Statement
63   HiLink sindacmpHeader              sindaHeader
65   HiLink sindacmpInteger             Number
66   HiLink sindacmpFloat               Special
68   delcommand HiLink
69 endif
72 let b:current_syntax = "sindacmp"
74 " vim: ts=8 sw=2