codekingpro/portable-devtools
114k
1" Vim syntax file2" Language: TAK2, TAK3, TAK2000 thermal modeling compare file3" Maintainer: Adrian Nagle, anagle@ball.com4" Last Change: 2003 May 115" Filenames: *.cmp6" URL: http://www.naglenet.org/vim/syntax/takcmp.vim7" MAIN URL: http://www.naglenet.org/vim/8 9 10 11" quit when a syntax file was already loaded12if exists("b:current_syntax")13 finish14endif15 16 17 18" Ignore case19syn case ignore20 21 22 23"24"25" Begin syntax definitions for compare files.26"27" Define keywords for TAK compare28 syn keyword takcmpUnit celsius fahrenheit29 30 31 32" Define matches for TAK compare33 syn match takcmpTitle "Steady State Temperature Comparison"34 35 syn match takcmpLabel "Run Date:"36 syn match takcmpLabel "Run Time:"37 syn match takcmpLabel "Temp. File \d Units:"38 syn match takcmpLabel "Filename:"39 syn match takcmpLabel "Output Units:"40 41 syn match takcmpHeader "^ *Node\( *File \d\)* *Node Description"42 43 syn match takcmpDate "\d\d\/\d\d\/\d\d"44 syn match takcmpTime "\d\d:\d\d:\d\d"45 syn match takcmpInteger "^ *-\=\<[0-9]*\>"46 syn match takcmpFloat "-\=\<[0-9]*\.[0-9]*"47 48 49 50" Define the default highlighting51" Only when an item doesn't have highlighting yet52 53hi def link takcmpTitle Type54hi def link takcmpUnit PreProc55 56hi def link takcmpLabel Statement57 58hi def link takcmpHeader takHeader59 60hi def link takcmpDate Identifier61hi def link takcmpTime Identifier62hi def link takcmpInteger Number63hi def link takcmpFloat Special64 65 66 67let b:current_syntax = "takcmp"68 69" vim: ts=8 sw=270 