Mercurial > vim
annotate runtime/syntax/takcmp.vim @ 17553:76f2afc8cd93 v8.1.1774
patch 8.1.1774: test is silently skipped
commit https://github.com/vim/vim/commit/3c610c96389bbb5f0fc83f0a515fc8f1b7f515e4
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Jul 29 21:03:45 2019 +0200
patch 8.1.1774: test is silently skipped
Problem: Test is silently skipped.
Solution: Throw "Skipped".
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 29 Jul 2019 21:15:07 +0200 |
parents | 46763b01cd9a |
children |
rev | line source |
---|---|
7 | 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 | |
10048
43efa4f5a8ea
commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents:
7
diff
changeset
|
11 " quit when a syntax file was already loaded |
43efa4f5a8ea
commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents:
7
diff
changeset
|
12 if exists("b:current_syntax") |
7 | 13 finish |
14 endif | |
15 | |
16 | |
17 | |
18 " Ignore case | |
19 syn case ignore | |
20 | |
21 | |
22 | |
23 " | |
24 " | |
25 " Begin syntax definitions for compare files. | |
26 " | |
27 " Define keywords for TAK compare | |
28 syn keyword takcmpUnit celsius fahrenheit | |
29 | |
30 | |
31 | |
32 " Define matches for TAK compare | |
33 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 highlighting | |
10048
43efa4f5a8ea
commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents:
7
diff
changeset
|
51 " Only when an item doesn't have highlighting yet |
43efa4f5a8ea
commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents:
7
diff
changeset
|
52 |
10051
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
53 hi def link takcmpTitle Type |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
54 hi def link takcmpUnit PreProc |
10048
43efa4f5a8ea
commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents:
7
diff
changeset
|
55 |
10051
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
56 hi def link takcmpLabel Statement |
7 | 57 |
10051
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
58 hi def link takcmpHeader takHeader |
7 | 59 |
10051
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
60 hi def link takcmpDate Identifier |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
61 hi def link takcmpTime Identifier |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
62 hi def link takcmpInteger Number |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
63 hi def link takcmpFloat Special |
7 | 64 |
65 | |
66 | |
67 let b:current_syntax = "takcmp" | |
68 | |
69 " vim: ts=8 sw=2 |