xref: /vim-8.2.3635/runtime/syntax/sindacmp.vim (revision f37506f6)
1" Vim syntax file
2" Language:     sinda85, sinda/fluint compare file
3" Maintainer:   Adrian Nagle, [email protected]
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/
8
9
10
11" quit when a syntax file was already loaded
12if exists("b:current_syntax")
13  finish
14endif
15
16
17
18" Ignore case
19syn case ignore
20
21
22
23"
24" Begin syntax definitions for compare files.
25"
26
27" Define keywords for sinda compare (sincomp)
28syn keyword sindacmpUnit     celsius fahrenheit
29
30
31
32" Define matches for sinda compare (sincomp)
33syn match  sindacmpTitle       "Steady State Temperature Comparison"
34
35syn match  sindacmpLabel       "File  [1-6] is"
36
37syn match  sindacmpHeader      "^ *Node\( *File  \d\)* *Node Description"
38
39syn match  sindacmpInteger     "^ *-\=\<[0-9]*\>"
40syn match  sindacmpFloat       "-\=\<[0-9]*\.[0-9]*"
41
42
43
44" Define the default highlighting
45" Only when an item doesn't have highlighting yet
46
47hi def link sindacmpTitle		     Type
48hi def link sindacmpUnit		     PreProc
49
50hi def link sindacmpLabel		     Statement
51
52hi def link sindacmpHeader		     sindaHeader
53
54hi def link sindacmpInteger	     Number
55hi def link sindacmpFloat		     Special
56
57
58
59let b:current_syntax = "sindacmp"
60
61" vim: ts=8 sw=2
62