annotate runtime/syntax/pascal.vim @ 31635:5c1b7a87466e v9.0.1150

patch 9.0.1150: :interface is not implemented yet Commit: https://github.com/vim/vim/commit/554d0313022c3977c71f7dcbc5c841ef43d988a6 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Jan 5 19:59:18 2023 +0000 patch 9.0.1150: :interface is not implemented yet Problem: :interface is not implemented yet. Solution: Implement the basics of :interface.
author Bram Moolenaar <Bram@vim.org>
date Thu, 05 Jan 2023 21:00:06 +0100
parents bdda48f01a68
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1 " Vim syntax file
24569
e3ec2ec8841a Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 22723
diff changeset
2 " Language: Pascal
e3ec2ec8841a Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 22723
diff changeset
3 " Maintainer: Doug Kearns <dougkearns@gmail.com>
e3ec2ec8841a Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 22723
diff changeset
4 " Previous Maintainers: Xavier Crégut <xavier.cregut@enseeiht.fr>
e3ec2ec8841a Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 22723
diff changeset
5 " Mario Eusebio <bio@dq.fct.unl.pt>
25402
bdda48f01a68 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 24569
diff changeset
6 " Last Change: 2021 May 20
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7
33
f6033dcbaf31 updated for version 7.0020
vimboss
parents: 7
diff changeset
8 " Contributors: Tim Chase <tchase@csc.com>,
24569
e3ec2ec8841a Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 22723
diff changeset
9 " Stas Grabois <stsi@vtrails.com>,
e3ec2ec8841a Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 22723
diff changeset
10 " Mazen NEIFER <mazen.neifer.2001@supaero.fr>,
e3ec2ec8841a Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 22723
diff changeset
11 " Klaus Hast <Klaus.Hast@arcor.net>,
e3ec2ec8841a Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 22723
diff changeset
12 " Austin Ziegler <austin@halostatue.ca>,
e3ec2ec8841a Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 22723
diff changeset
13 " Markus Koenig <markus@stber-koenig.de>
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14
10048
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 33
diff changeset
15 " quit when a syntax file was already loaded
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 33
diff changeset
16 if exists("b:current_syntax")
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17 finish
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21 syn case ignore
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22 syn sync lines=250
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24 syn keyword pascalBoolean true false
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25 syn keyword pascalConditional if else then
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26 syn keyword pascalConstant nil maxint
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
27 syn keyword pascalLabel case goto label
24569
e3ec2ec8841a Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 22723
diff changeset
28 syn keyword pascalOperator and div downto in mod not of or packed
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
29 syn keyword pascalRepeat do for do repeat while to until
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
30 syn keyword pascalStatement procedure function
24569
e3ec2ec8841a Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 22723
diff changeset
31 syn keyword pascalStatement program begin end const var type with
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
32 syn keyword pascalStruct record
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
33 syn keyword pascalType array boolean char integer file pointer real set
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
34 syn keyword pascalType string text variant
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
35
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
36
33
f6033dcbaf31 updated for version 7.0020
vimboss
parents: 7
diff changeset
37 " 20011222az: Added new items.
f6033dcbaf31 updated for version 7.0020
vimboss
parents: 7
diff changeset
38 syn keyword pascalTodo contained TODO FIXME XXX DEBUG NOTE
f6033dcbaf31 updated for version 7.0020
vimboss
parents: 7
diff changeset
39
f6033dcbaf31 updated for version 7.0020
vimboss
parents: 7
diff changeset
40 " 20010723az: When wanted, highlight the trailing whitespace -- this is
f6033dcbaf31 updated for version 7.0020
vimboss
parents: 7
diff changeset
41 " based on c_space_errors; to enable, use "pascal_space_errors".
f6033dcbaf31 updated for version 7.0020
vimboss
parents: 7
diff changeset
42 if exists("pascal_space_errors")
24569
e3ec2ec8841a Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 22723
diff changeset
43 if !exists("pascal_no_trail_space_error")
e3ec2ec8841a Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 22723
diff changeset
44 syn match pascalSpaceError "\s\+$"
e3ec2ec8841a Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 22723
diff changeset
45 endif
e3ec2ec8841a Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 22723
diff changeset
46 if !exists("pascal_no_tab_space_error")
e3ec2ec8841a Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 22723
diff changeset
47 syn match pascalSpaceError " \+\t"me=e-1
e3ec2ec8841a Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 22723
diff changeset
48 endif
33
f6033dcbaf31 updated for version 7.0020
vimboss
parents: 7
diff changeset
49 endif
f6033dcbaf31 updated for version 7.0020
vimboss
parents: 7
diff changeset
50
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
51
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
52
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
53 " String
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
54 if !exists("pascal_one_line_string")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
55 syn region pascalString matchgroup=pascalString start=+'+ end=+'+ contains=pascalStringEscape
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
56 if exists("pascal_gpc")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
57 syn region pascalString matchgroup=pascalString start=+"+ end=+"+ contains=pascalStringEscapeGPC
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
58 else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
59 syn region pascalStringError matchgroup=pascalStringError start=+"+ end=+"+ contains=pascalStringEscape
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
60 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
61 else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
62 "wrong strings
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
63 syn region pascalStringError matchgroup=pascalStringError start=+'+ end=+'+ end=+$+ contains=pascalStringEscape
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
64 if exists("pascal_gpc")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
65 syn region pascalStringError matchgroup=pascalStringError start=+"+ end=+"+ end=+$+ contains=pascalStringEscapeGPC
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
66 else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
67 syn region pascalStringError matchgroup=pascalStringError start=+"+ end=+"+ end=+$+ contains=pascalStringEscape
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
68 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
69
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
70 "right strings
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
71 syn region pascalString matchgroup=pascalString start=+'+ end=+'+ oneline contains=pascalStringEscape
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
72 " To see the start and end of strings:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
73 " syn region pascalString matchgroup=pascalStringError start=+'+ end=+'+ oneline contains=pascalStringEscape
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
74 if exists("pascal_gpc")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
75 syn region pascalString matchgroup=pascalString start=+"+ end=+"+ oneline contains=pascalStringEscapeGPC
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
76 else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
77 syn region pascalStringError matchgroup=pascalStringError start=+"+ end=+"+ oneline contains=pascalStringEscape
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
78 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
79 end
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
80 syn match pascalStringEscape contained "''"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
81 syn match pascalStringEscapeGPC contained '""'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
82
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
83
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
84 " syn match pascalIdentifier "\<[a-zA-Z_][a-zA-Z0-9_]*\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
85
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
86
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
87 if exists("pascal_symbol_operator")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
88 syn match pascalSymbolOperator "[+\-/*=]"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
89 syn match pascalSymbolOperator "[<>]=\="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
90 syn match pascalSymbolOperator "<>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
91 syn match pascalSymbolOperator ":="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
92 syn match pascalSymbolOperator "[()]"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
93 syn match pascalSymbolOperator "\.\."
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
94 syn match pascalSymbolOperator "[\^.]"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
95 syn match pascalMatrixDelimiter "[][]"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
96 "if you prefer you can highlight the range
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
97 "syn match pascalMatrixDelimiter "[\d\+\.\.\d\+]"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
98 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
99
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
100 syn match pascalNumber "-\=\<\d\+\>"
24569
e3ec2ec8841a Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 22723
diff changeset
101 if !exists("pascal_traditional")
e3ec2ec8841a Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 22723
diff changeset
102 syn match pascalHexNumber "\$\x\+\>"
e3ec2ec8841a Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 22723
diff changeset
103 endif
e3ec2ec8841a Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 22723
diff changeset
104 if exists("pascal_fpc")
e3ec2ec8841a Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 22723
diff changeset
105 syn match pascalOctNumber "&\o\+\>"
e3ec2ec8841a Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 22723
diff changeset
106 syn match pascalBinNumber "%[01]\+\>"
e3ec2ec8841a Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 22723
diff changeset
107 endif
e3ec2ec8841a Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 22723
diff changeset
108 if exists("pascal_gpc")
e3ec2ec8841a Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 22723
diff changeset
109 syn match pascalExtendedNumber "\%([2-9]\|[12]\d\|3[0-6]\)#[[:alnum:]]\+\>"
e3ec2ec8841a Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 22723
diff changeset
110 endif
e3ec2ec8841a Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 22723
diff changeset
111
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
112 syn match pascalFloat "-\=\<\d\+\.\d\+\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
113 syn match pascalFloat "-\=\<\d\+\.\d\+[eE]-\=\d\+\>"
24569
e3ec2ec8841a Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 22723
diff changeset
114
e3ec2ec8841a Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 22723
diff changeset
115 if !exists("pascal_traditional")
e3ec2ec8841a Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 22723
diff changeset
116 " allow leading zeros
e3ec2ec8841a Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 22723
diff changeset
117 syn match pascalControlCharacter "#\%([01]\=\d\=\d\|2[0-4]\d\|25[0-5]\)\>"
e3ec2ec8841a Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 22723
diff changeset
118 endif
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
119
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
120 if exists("pascal_no_tabs")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
121 syn match pascalShowTab "\t"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
122 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
123
33
f6033dcbaf31 updated for version 7.0020
vimboss
parents: 7
diff changeset
124 syn region pascalComment start="(\*\|{" end="\*)\|}" contains=pascalTodo,pascalSpaceError
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
125
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
126
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
127 if !exists("pascal_no_functions")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
128 " array functions
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
129 syn keyword pascalFunction pack unpack
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
130
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
131 " memory function
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
132 syn keyword pascalFunction Dispose New
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
133
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
134 " math functions
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
135 syn keyword pascalFunction Abs Arctan Cos Exp Ln Sin Sqr Sqrt
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
136
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
137 " file functions
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
138 syn keyword pascalFunction Eof Eoln Write Writeln
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
139 syn keyword pascalPredefined Input Output
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
140
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
141 if exists("pascal_traditional")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
142 " These functions do not seem to be defined in Turbo Pascal
33
f6033dcbaf31 updated for version 7.0020
vimboss
parents: 7
diff changeset
143 syn keyword pascalFunction Get Page Put
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
144 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
145
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
146 " ordinal functions
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
147 syn keyword pascalFunction Odd Pred Succ
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
148
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
149 " transfert functions
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
150 syn keyword pascalFunction Chr Ord Round Trunc
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
151 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
152
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
153
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
154 if !exists("pascal_traditional")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
155
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
156 syn keyword pascalStatement constructor destructor implementation inherited
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
157 syn keyword pascalStatement interface unit uses
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
158 syn keyword pascalModifier absolute assembler external far forward inline
33
f6033dcbaf31 updated for version 7.0020
vimboss
parents: 7
diff changeset
159 syn keyword pascalModifier interrupt near virtual
24569
e3ec2ec8841a Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 22723
diff changeset
160 syn keyword pascalAccess private public strict
33
f6033dcbaf31 updated for version 7.0020
vimboss
parents: 7
diff changeset
161 syn keyword pascalStruct object
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
162 syn keyword pascalOperator shl shr xor
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
163
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
164 syn region pascalPreProc start="(\*\$" end="\*)" contains=pascalTodo
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
165 syn region pascalPreProc start="{\$" end="}"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
166
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
167 syn region pascalAsm matchgroup=pascalAsmKey start="\<asm\>" end="\<end\>" contains=pascalComment,pascalPreProc
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
168
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
169 syn keyword pascalType ShortInt LongInt Byte Word
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
170 syn keyword pascalType ByteBool WordBool LongBool
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
171 syn keyword pascalType Cardinal LongWord
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
172 syn keyword pascalType Single Double Extended Comp
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
173 syn keyword pascalType PChar
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
174
24569
e3ec2ec8841a Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 22723
diff changeset
175 syn keyword pascalPredefined self
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
176
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
177 if !exists ("pascal_fpc")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
178 syn keyword pascalPredefined Result
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
179 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
180
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
181 if exists("pascal_fpc")
33
f6033dcbaf31 updated for version 7.0020
vimboss
parents: 7
diff changeset
182 syn region pascalComment start="//" end="$" contains=pascalTodo,pascalSpaceError
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
183 syn keyword pascalStatement fail otherwise operator
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
184 syn keyword pascalDirective popstack
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
185 syn keyword pascalType ShortString AnsiString WideString
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
186 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
187
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
188 if exists("pascal_gpc")
24569
e3ec2ec8841a Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 22723
diff changeset
189 syn region pascalComment start="//" end="$" contains=pascalTodo,pascalSpaceError
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
190 syn keyword pascalType SmallInt
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
191 syn keyword pascalType AnsiChar
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
192 syn keyword pascalType PAnsiChar
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
193 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
194
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
195 if exists("pascal_delphi")
33
f6033dcbaf31 updated for version 7.0020
vimboss
parents: 7
diff changeset
196 syn region pascalComment start="//" end="$" contains=pascalTodo,pascalSpaceError
24569
e3ec2ec8841a Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 22723
diff changeset
197 syn region pascalDocumentation start="///" end="$" contains=pascalTodo,pascalSpaceError
e3ec2ec8841a Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 22723
diff changeset
198 syn region pascalDocumentation start="{!" end="}" contains=pascalTodo,pascalSpaceError
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
199 syn keyword pascalType SmallInt Int64
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
200 syn keyword pascalType Real48 Currency
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
201 syn keyword pascalType AnsiChar WideChar
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
202 syn keyword pascalType ShortString AnsiString WideString
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
203 syn keyword pascalType PAnsiChar PWideChar
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
204 syn match pascalFloat "-\=\<\d\+\.\d\+[dD]-\=\d\+\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
205 syn match pascalStringEscape contained "#[12][0-9]\=[0-9]\="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
206 syn keyword pascalStruct class dispinterface
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
207 syn keyword pascalException try except raise at on finally
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
208 syn keyword pascalStatement out
33
f6033dcbaf31 updated for version 7.0020
vimboss
parents: 7
diff changeset
209 syn keyword pascalStatement library package
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
210 syn keyword pascalStatement initialization finalization uses exports
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
211 syn keyword pascalStatement property out resourcestring threadvar
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
212 syn keyword pascalModifier contains
24569
e3ec2ec8841a Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 22723
diff changeset
213 syn keyword pascalModifier overridden reintroduce abstract sealed
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
214 syn keyword pascalModifier override export dynamic name message
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
215 syn keyword pascalModifier dispid index stored default nodefault readonly
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
216 syn keyword pascalModifier writeonly implements overload requires resident
24569
e3ec2ec8841a Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 22723
diff changeset
217 syn keyword pascalAccess protected published automated
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
218 syn keyword pascalDirective register pascal cvar cdecl stdcall safecall
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
219 syn keyword pascalOperator as is
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
220 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
221
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
222 if exists("pascal_no_functions")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
223 "syn keyword pascalModifier read write
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
224 "may confuse with Read and Write functions. Not easy to handle.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
225 else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
226 " control flow functions
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
227 syn keyword pascalFunction Break Continue Exit Halt RunError
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
228
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
229 " ordinal functions
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
230 syn keyword pascalFunction Dec Inc High Low
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
231
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
232 " math functions
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
233 syn keyword pascalFunction Frac Int Pi
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
234
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
235 " string functions
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
236 syn keyword pascalFunction Concat Copy Delete Insert Length Pos Str Val
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
237
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
238 " memory function
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
239 syn keyword pascalFunction FreeMem GetMem MaxAvail MemAvail
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
240
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
241 " pointer and address functions
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
242 syn keyword pascalFunction Addr Assigned CSeg DSeg Ofs Ptr Seg SPtr SSeg
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
243
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
244 " misc functions
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
245 syn keyword pascalFunction Exclude FillChar Hi Include Lo Move ParamCount
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
246 syn keyword pascalFunction ParamStr Random Randomize SizeOf Swap TypeOf
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
247 syn keyword pascalFunction UpCase
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
248
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
249 " predefined variables
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
250 syn keyword pascalPredefined ErrorAddr ExitCode ExitProc FileMode FreeList
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
251 syn keyword pascalPredefined FreeZero HeapEnd HeapError HeapOrg HeapPtr
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
252 syn keyword pascalPredefined InOutRes OvrCodeList OvrDebugPtr OvrDosHandle
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
253 syn keyword pascalPredefined OvrEmsHandle OvrHeapEnd OvrHeapOrg OvrHeapPtr
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
254 syn keyword pascalPredefined OvrHeapSize OvrLoadList PrefixSeg RandSeed
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
255 syn keyword pascalPredefined SaveInt00 SaveInt02 SaveInt1B SaveInt21
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
256 syn keyword pascalPredefined SaveInt23 SaveInt24 SaveInt34 SaveInt35
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
257 syn keyword pascalPredefined SaveInt36 SaveInt37 SaveInt38 SaveInt39
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
258 syn keyword pascalPredefined SaveInt3A SaveInt3B SaveInt3C SaveInt3D
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
259 syn keyword pascalPredefined SaveInt3E SaveInt3F SaveInt75 SegA000 SegB000
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
260 syn keyword pascalPredefined SegB800 SelectorInc StackLimit Test8087
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
261
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
262 " file functions
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
263 syn keyword pascalFunction Append Assign BlockRead BlockWrite ChDir Close
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
264 syn keyword pascalFunction Erase FilePos FileSize Flush GetDir IOResult
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
265 syn keyword pascalFunction MkDir Read Readln Rename Reset Rewrite RmDir
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
266 syn keyword pascalFunction Seek SeekEof SeekEoln SetTextBuf Truncate
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
267
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
268 " crt unit
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
269 syn keyword pascalFunction AssignCrt ClrEol ClrScr Delay DelLine GotoXY
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
270 syn keyword pascalFunction HighVideo InsLine KeyPressed LowVideo NormVideo
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
271 syn keyword pascalFunction NoSound ReadKey Sound TextBackground TextColor
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
272 syn keyword pascalFunction TextMode WhereX WhereY Window
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
273 syn keyword pascalPredefined CheckBreak CheckEOF CheckSnow DirectVideo
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
274 syn keyword pascalPredefined LastMode TextAttr WindMin WindMax
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
275 syn keyword pascalFunction BigCursor CursorOff CursorOn
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
276 syn keyword pascalConstant Black Blue Green Cyan Red Magenta Brown
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
277 syn keyword pascalConstant LightGray DarkGray LightBlue LightGreen
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
278 syn keyword pascalConstant LightCyan LightRed LightMagenta Yellow White
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
279 syn keyword pascalConstant Blink ScreenWidth ScreenHeight bw40
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
280 syn keyword pascalConstant co40 bw80 co80 mono
33
f6033dcbaf31 updated for version 7.0020
vimboss
parents: 7
diff changeset
281 syn keyword pascalPredefined TextChar
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
282
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
283 " DOS unit
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
284 syn keyword pascalFunction AddDisk DiskFree DiskSize DosExitCode DosVersion
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
285 syn keyword pascalFunction EnvCount EnvStr Exec Expand FindClose FindFirst
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
286 syn keyword pascalFunction FindNext FSearch FSplit GetCBreak GetDate
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
287 syn keyword pascalFunction GetEnv GetFAttr GetFTime GetIntVec GetTime
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
288 syn keyword pascalFunction GetVerify Intr Keep MSDos PackTime SetCBreak
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
289 syn keyword pascalFunction SetDate SetFAttr SetFTime SetIntVec SetTime
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
290 syn keyword pascalFunction SetVerify SwapVectors UnPackTime
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
291 syn keyword pascalConstant FCarry FParity FAuxiliary FZero FSign FOverflow
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
292 syn keyword pascalConstant Hidden Sysfile VolumeId Directory Archive
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
293 syn keyword pascalConstant AnyFile fmClosed fmInput fmOutput fmInout
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
294 syn keyword pascalConstant TextRecNameLength TextRecBufSize
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
295 syn keyword pascalType ComStr PathStr DirStr NameStr ExtStr SearchRec
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
296 syn keyword pascalType FileRec TextBuf TextRec Registers DateTime
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
297 syn keyword pascalPredefined DosError
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
298
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
299 "Graph Unit
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
300 syn keyword pascalFunction Arc Bar Bar3D Circle ClearDevice ClearViewPort
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
301 syn keyword pascalFunction CloseGraph DetectGraph DrawPoly Ellipse
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
302 syn keyword pascalFunction FillEllipse FillPoly FloodFill GetArcCoords
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
303 syn keyword pascalFunction GetAspectRatio GetBkColor GetColor
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
304 syn keyword pascalFunction GetDefaultPalette GetDriverName GetFillPattern
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
305 syn keyword pascalFunction GetFillSettings GetGraphMode GetImage
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
306 syn keyword pascalFunction GetLineSettings GetMaxColor GetMaxMode GetMaxX
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
307 syn keyword pascalFunction GetMaxY GetModeName GetModeRange GetPalette
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
308 syn keyword pascalFunction GetPaletteSize GetPixel GetTextSettings
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
309 syn keyword pascalFunction GetViewSettings GetX GetY GraphDefaults
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
310 syn keyword pascalFunction GraphErrorMsg GraphResult ImageSize InitGraph
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
311 syn keyword pascalFunction InstallUserDriver InstallUserFont Line LineRel
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
312 syn keyword pascalFunction LineTo MoveRel MoveTo OutText OutTextXY
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
313 syn keyword pascalFunction PieSlice PutImage PutPixel Rectangle
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
314 syn keyword pascalFunction RegisterBGIDriver RegisterBGIFont
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
315 syn keyword pascalFunction RestoreCRTMode Sector SetActivePage
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
316 syn keyword pascalFunction SetAllPallette SetAspectRatio SetBkColor
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
317 syn keyword pascalFunction SetColor SetFillPattern SetFillStyle
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
318 syn keyword pascalFunction SetGraphBufSize SetGraphMode SetLineStyle
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
319 syn keyword pascalFunction SetPalette SetRGBPalette SetTextJustify
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
320 syn keyword pascalFunction SetTextStyle SetUserCharSize SetViewPort
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
321 syn keyword pascalFunction SetVisualPage SetWriteMode TextHeight TextWidth
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
322 syn keyword pascalType ArcCoordsType FillPatternType FillSettingsType
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
323 syn keyword pascalType LineSettingsType PaletteType PointType
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
324 syn keyword pascalType TextSettingsType ViewPortType
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
325
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
326 " string functions
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
327 syn keyword pascalFunction StrAlloc StrBufSize StrCat StrComp StrCopy
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
328 syn keyword pascalFunction StrDispose StrECopy StrEnd StrFmt StrIComp
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
329 syn keyword pascalFunction StrLCat StrLComp StrLCopy StrLen StrLFmt
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
330 syn keyword pascalFunction StrLIComp StrLower StrMove StrNew StrPas
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
331 syn keyword pascalFunction StrPCopy StrPLCopy StrPos StrRScan StrScan
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
332 syn keyword pascalFunction StrUpper
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
333 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
334
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
335 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
336
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
337 " Define the default highlighting.
10048
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 33
diff changeset
338 " Only when an item doesn't have highlighting yet
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
339
24569
e3ec2ec8841a Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 22723
diff changeset
340 hi def link pascalAccess pascalStatement
10051
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
341 hi def link pascalBoolean Boolean
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
342 hi def link pascalComment Comment
24569
e3ec2ec8841a Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 22723
diff changeset
343 hi def link pascalDocumentation Comment
e3ec2ec8841a Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 22723
diff changeset
344 hi def link pascalConditional Conditional
10051
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
345 hi def link pascalConstant Constant
24569
e3ec2ec8841a Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 22723
diff changeset
346 hi def link pascalControlCharacter Character
e3ec2ec8841a Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 22723
diff changeset
347 hi def link pascalDelimiter Identifier
e3ec2ec8841a Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 22723
diff changeset
348 hi def link pascalDirective pascalStatement
e3ec2ec8841a Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 22723
diff changeset
349 hi def link pascalException Exception
e3ec2ec8841a Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 22723
diff changeset
350 hi def link pascalFloat Float
10051
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
351 hi def link pascalFunction Function
24569
e3ec2ec8841a Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 22723
diff changeset
352 hi def link pascalLabel Label
10051
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
353 hi def link pascalMatrixDelimiter Identifier
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
354 hi def link pascalModifier Type
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
355 hi def link pascalNumber Number
24569
e3ec2ec8841a Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 22723
diff changeset
356 hi def link pascalExtendedNumber Number
e3ec2ec8841a Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 22723
diff changeset
357 hi def link pascalBinNumber pascalNumber
e3ec2ec8841a Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 22723
diff changeset
358 hi def link pascalHexNumber pascalNumber
e3ec2ec8841a Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 22723
diff changeset
359 hi def link pascalOctNumber pascalNumber
10051
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
360 hi def link pascalOperator Operator
24569
e3ec2ec8841a Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 22723
diff changeset
361 hi def link pascalPredefined pascalStatement
10051
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
362 hi def link pascalPreProc PreProc
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
363 hi def link pascalRepeat Repeat
24569
e3ec2ec8841a Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 22723
diff changeset
364 hi def link pascalSpaceError Error
e3ec2ec8841a Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 22723
diff changeset
365 hi def link pascalStatement Statement
10051
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
366 hi def link pascalString String
24569
e3ec2ec8841a Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 22723
diff changeset
367 hi def link pascalStringEscape Special
10051
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
368 hi def link pascalStringEscapeGPC Special
24569
e3ec2ec8841a Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 22723
diff changeset
369 hi def link pascalStringError Error
10051
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
370 hi def link pascalStruct pascalStatement
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
371 hi def link pascalSymbolOperator pascalOperator
24569
e3ec2ec8841a Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 22723
diff changeset
372 hi def link pascalTodo Todo
e3ec2ec8841a Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 22723
diff changeset
373 hi def link pascalType Type
e3ec2ec8841a Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 22723
diff changeset
374 hi def link pascalUnclassified pascalStatement
10051
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
375 " hi def link pascalAsm Assembler
24569
e3ec2ec8841a Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 22723
diff changeset
376 hi def link pascalError Error
10051
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
377 hi def link pascalAsmKey pascalStatement
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
378 hi def link pascalShowTab Error
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
379
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
380
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
381
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
382 let b:current_syntax = "pascal"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
383
24569
e3ec2ec8841a Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 22723
diff changeset
384 " vim: nowrap sw=2 sts=2 ts=8 noet: