robin/laufey
git clone https://git.robinwobin.dev/robin/laufey
9f6d693e26
master
1" Vim syntax file 2" Language: TAK2, TAK3, TAK2000 thermal modeling 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/takcmp.vim 7" MAIN URL: http://www.naglenet.org/vim/ 8 9 10 11" quit when a syntax file was already loaded 12if exists ( "b:current_syntax" ) 13finish 14endif 15 16 17 18" Ignore case 19syn case ignore 20 21 22 23" 24" 25" Begin syntax definitions for compare files. 26" 27" Define keywords for TAK compare 28syn keyword takcmpUnit celsius fahrenheit 29 30 31 32" Define matches for TAK compare 33syn match takcmpTitle "Steady State Temperature Comparison " 34 35syn match takcmpLabel "Run Date: " 36syn match takcmpLabel "Run Time: " 37syn match takcmpLabel "Temp. File \d Units: " 38syn match takcmpLabel "Filename: " 39syn match takcmpLabel "Output Units: " 40 41syn match takcmpHeader "^ * Node\( *File \d\) * *Node Description " 42 43syn match takcmpDate "\d\d\/\d\d\/\d\d " 44syn match takcmpTime "\d\d:\d\d:\d\d " 45syn match takcmpInteger "^ * -\=\< [ 0-9 ] * \> " 46syn match takcmpFloat "-\=\< [ 0-9 ] * \. [ 0-9 ] * " 47 48 49 50" Define the default highlighting 51" Only when an item doesn't have highlighting yet 52 53hi def link takcmpTitle Type 54hi def link takcmpUnit PreProc 55 56hi def link takcmpLabel Statement 57 58hi def link takcmpHeader takHeader 59 60hi def link takcmpDate Identifier 61hi def link takcmpTime Identifier 62hi def link takcmpInteger Number 63hi def link takcmpFloat Special 64 65 66 67let b: current_syntax = "takcmp" 68 69" vim: ts=8 sw=2