Mercurial > vim
annotate runtime/syntax/tli.vim @ 18580:4ac042c8ed98 v8.1.2284
patch 8.1.2284: compiler warning for unused variable
Commit: https://github.com/vim/vim/commit/439b3aca373a1fc661f20154eba340045bbe8454
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Nov 10 01:32:12 2019 +0100
patch 8.1.2284: compiler warning for unused variable
Problem: Compiler warning for unused variable. (Tony Mechelynck)
Solution: Add #ifdef.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 10 Nov 2019 01:45:03 +0100 |
parents | 46763b01cd9a |
children |
rev | line source |
---|---|
7 | 1 " Vim syntax file |
2 " Language: TealInfo source files (*.tli) | |
3 " Maintainer: Kurt W. Andrews <kandrews@fastrans.net> | |
4 " Last Change: 2001 May 10 | |
5 " Version: 1.0 | |
6 | |
10048
43efa4f5a8ea
commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents:
7
diff
changeset
|
7 " 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
|
8 if exists("b:current_syntax") |
7 | 9 finish |
10 endif | |
11 | |
12 " TealInfo Objects | |
13 | |
14 syn keyword tliObject LIST POPLIST WINDOW POPWINDOW OUTLINE CHECKMARK GOTO | |
15 syn keyword tliObject LABEL IMAGE RECT TRES PASSWORD POPEDIT POPIMAGE CHECKLIST | |
16 | |
17 " TealInfo Fields | |
18 | |
19 syn keyword tliField X Y W H BX BY BW BH SX SY FONT BFONT CYCLE DELAY TABS | |
20 syn keyword tliField STYLE BTEXT RECORD DATABASE KEY TARGET DEFAULT TEXT | |
21 syn keyword tliField LINKS MAXVAL | |
22 | |
23 " TealInfo Styles | |
24 | |
25 syn keyword tliStyle INVERTED HORIZ_RULE VERT_RULE NO_SCROLL NO_BORDER BOLD_BORDER | |
26 syn keyword tliStyle ROUND_BORDER ALIGN_RIGHT ALIGN_CENTER ALIGN_LEFT_START ALIGN_RIGHT_START | |
27 syn keyword tliStyle ALIGN_CENTER_START ALIGN_LEFT_END ALIGN_RIGHT_END ALIGN_CENTER_END | |
28 syn keyword tliStyle LOCKOUT BUTTON_SCROLL BUTTON_SELECT STROKE_FIND FILLED REGISTER | |
29 | |
30 " String and Character constants | |
31 | |
32 syn match tliSpecial "@" | |
33 syn region tliString start=+"+ end=+"+ | |
34 | |
35 "TealInfo Numbers, identifiers and comments | |
36 | |
37 syn case ignore | |
38 syn match tliNumber "\d*" | |
39 syn match tliIdentifier "\<\h\w*\>" | |
40 syn match tliComment "#.*" | |
41 syn case match | |
42 | |
43 " Define the default highlighting. | |
10048
43efa4f5a8ea
commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents:
7
diff
changeset
|
44 " Only when an item doesn't have highlighting yet |
7 | 45 |
10051
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
46 hi def link tliNumber Number |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
47 hi def link tliString String |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
48 hi def link tliComment Comment |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
49 hi def link tliSpecial SpecialChar |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
50 hi def link tliIdentifier Identifier |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
51 hi def link tliObject Statement |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
52 hi def link tliField Type |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
53 hi def link tliStyle PreProc |
7 | 54 |
55 | |
56 let b:current_syntax = "tli" | |
57 | |
58 " vim: ts=8 |