annotate runtime/syntax/logtalk.vim @ 893:bf7803d0f5b9 v7.0.019

updated for version 7.0-019
author vimboss
date Tue, 20 Jun 2006 18:29:34 +0000
parents 0f9f4761ad9c
children 0b796e045c42
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
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2 "
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3 " Language: Logtalk
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
4 " Maintainer: Paulo Moura <pmoura@logtalk.org>
714
0f9f4761ad9c updated for version 7.0216
vimboss
parents: 308
diff changeset
5 " Last Change: February 24, 2006
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8 " Quit when a syntax file was already loaded:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10 if version < 600
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11 syntax clear
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12 elseif exists("b:current_syntax")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13 finish
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17 " Logtalk is case sensitive:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19 syn case match
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22 " Logtalk variables
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24 syn match logtalkVariable "\<\(\u\|_\)\(\w\)*\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
27 " Logtalk clause functor
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
28
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
29 syn match logtalkOperator ":-"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
30
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
31
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
32 " Logtalk quoted atoms and strings
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
33
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
34 syn region logtalkString start=+"+ skip=+\\"+ end=+"+
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
35 syn region logtalkAtom start=+'+ skip=+\\'+ end=+'+
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
36
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
37
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
38 " Logtalk message sending operators
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
39
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
40 syn match logtalkOperator "::"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
41 syn match logtalkOperator "\^\^"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
42
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
43
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
44 " Logtalk external call
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
45
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
46 syn region logtalkExtCall matchgroup=logtalkExtCallTag start="{" matchgroup=logtalkExtCallTag end="}" contains=ALL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
47
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
48
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
49 " Logtalk opening entity directives
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
50
308
74e9d19831c2 updated for version 7.0081
vimboss
parents: 294
diff changeset
51 syn region logtalkOpenEntityDir matchgroup=logtalkOpenEntityDirTag start=":- object(" matchgroup=logtalkOpenEntityDirTag end=")\." contains=logtalkEntity,logtalkVariable,logtalkNumber,logtalkOperator,logtalkEntityRel
74e9d19831c2 updated for version 7.0081
vimboss
parents: 294
diff changeset
52 syn region logtalkOpenEntityDir matchgroup=logtalkOpenEntityDirTag start=":- protocol(" matchgroup=logtalkOpenEntityDirTag end=")\." contains=logtalkEntity,logtalkVariable,logtalkNumber,logtalkOperator,logtalkEntityRel
74e9d19831c2 updated for version 7.0081
vimboss
parents: 294
diff changeset
53 syn region logtalkOpenEntityDir matchgroup=logtalkOpenEntityDirTag start=":- category(" matchgroup=logtalkOpenEntityDirTag end=")\." contains=logtalkEntity,logtalkVariable,logtalkNumber,logtalkOperator,logtalkEntityRel
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
54
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
55
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
56 " Logtalk closing entity directives
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
57
308
74e9d19831c2 updated for version 7.0081
vimboss
parents: 294
diff changeset
58 syn match logtalkCloseEntityDir ":- end_object\."
74e9d19831c2 updated for version 7.0081
vimboss
parents: 294
diff changeset
59 syn match logtalkCloseEntityDir ":- end_protocol\."
74e9d19831c2 updated for version 7.0081
vimboss
parents: 294
diff changeset
60 syn match logtalkCloseEntityDir ":- end_category\."
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
61
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
62
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
63 " Logtalk entity relations
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
64
308
74e9d19831c2 updated for version 7.0081
vimboss
parents: 294
diff changeset
65 syn region logtalkEntityRel matchgroup=logtalkEntityRelTag start="instantiates(" matchgroup=logtalkEntityRelTag end=")" contains=logtalkEntity,logtalkVariable,logtalkNumber,logtalkOperator contained
74e9d19831c2 updated for version 7.0081
vimboss
parents: 294
diff changeset
66 syn region logtalkEntityRel matchgroup=logtalkEntityRelTag start="specializes(" matchgroup=logtalkEntityRelTag end=")" contains=logtalkEntity,logtalkVariable,logtalkNumber,logtalkOperator contained
74e9d19831c2 updated for version 7.0081
vimboss
parents: 294
diff changeset
67 syn region logtalkEntityRel matchgroup=logtalkEntityRelTag start="extends(" matchgroup=logtalkEntityRelTag end=")" contains=logtalkEntity,logtalkVariable,logtalkNumber,logtalkOperator contained
74e9d19831c2 updated for version 7.0081
vimboss
parents: 294
diff changeset
68 syn region logtalkEntityRel matchgroup=logtalkEntityRelTag start="imports(" matchgroup=logtalkEntityRelTag end=")" contains=logtalkEntity,logtalkVariable,logtalkNumber,logtalkOperator contained
74e9d19831c2 updated for version 7.0081
vimboss
parents: 294
diff changeset
69 syn region logtalkEntityRel matchgroup=logtalkEntityRelTag start="implements(" matchgroup=logtalkEntityRelTag end=")" contains=logtalkEntity,logtalkVariable,logtalkNumber,logtalkOperator contained
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
70
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
71
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
72 " Logtalk directives
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
73
214
48c9c2bf59af updated for version 7.0060
vimboss
parents: 21
diff changeset
74 syn region logtalkDir matchgroup=logtalkDirTag start=":- alias(" matchgroup=logtalkDirTag end=")\." contains=ALL
289
9a10e4d195b3 updated for version 7.0076
vimboss
parents: 214
diff changeset
75 syn region logtalkDir matchgroup=logtalkDirTag start=":- encoding(" matchgroup=logtalkDirTag end=")\." contains=ALL
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
76 syn region logtalkDir matchgroup=logtalkDirTag start=":- initialization(" matchgroup=logtalkDirTag end=")\." contains=ALL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
77 syn region logtalkDir matchgroup=logtalkDirTag start=":- info(" matchgroup=logtalkDirTag end=")\." contains=ALL
214
48c9c2bf59af updated for version 7.0060
vimboss
parents: 21
diff changeset
78 syn region logtalkDir matchgroup=logtalkDirTag start=":- mode(" matchgroup=logtalkDirTag end=")\." contains=logtalkOperator, logtalkAtom
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
79 syn region logtalkDir matchgroup=logtalkDirTag start=":- dynamic(" matchgroup=logtalkDirTag end=")\." contains=ALL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
80 syn match logtalkDirTag ":- dynamic\."
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
81 syn region logtalkDir matchgroup=logtalkDirTag start=":- discontiguous(" matchgroup=logtalkDirTag end=")\." contains=ALL
214
48c9c2bf59af updated for version 7.0060
vimboss
parents: 21
diff changeset
82 syn region logtalkDir matchgroup=logtalkDirTag start=":- multifile(" matchgroup=logtalkDirTag end=")\." contains=ALL
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
83 syn region logtalkDir matchgroup=logtalkDirTag start=":- public(" matchgroup=logtalkDirTag end=")\." contains=ALL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
84 syn region logtalkDir matchgroup=logtalkDirTag start=":- protected(" matchgroup=logtalkDirTag end=")\." contains=ALL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
85 syn region logtalkDir matchgroup=logtalkDirTag start=":- private(" matchgroup=logtalkDirTag end=")\." contains=ALL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
86 syn region logtalkDir matchgroup=logtalkDirTag start=":- metapredicate(" matchgroup=logtalkDirTag end=")\." contains=ALL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
87 syn region logtalkDir matchgroup=logtalkDirTag start=":- op(" matchgroup=logtalkDirTag end=")\." contains=ALL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
88 syn region logtalkDir matchgroup=logtalkDirTag start=":- calls(" matchgroup=logtalkDirTag end=")\." contains=ALL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
89 syn region logtalkDir matchgroup=logtalkDirTag start=":- uses(" matchgroup=logtalkDirTag end=")\." contains=ALL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
90
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
91
714
0f9f4761ad9c updated for version 7.0216
vimboss
parents: 308
diff changeset
92 " Module directives
0f9f4761ad9c updated for version 7.0216
vimboss
parents: 308
diff changeset
93
0f9f4761ad9c updated for version 7.0216
vimboss
parents: 308
diff changeset
94 syn region logtalkDir matchgroup=logtalkDirTag start=":- module(" matchgroup=logtalkDirTag end=")\." contains=ALL
0f9f4761ad9c updated for version 7.0216
vimboss
parents: 308
diff changeset
95 syn region logtalkDir matchgroup=logtalkDirTag start=":- export(" matchgroup=logtalkDirTag end=")\." contains=ALL
0f9f4761ad9c updated for version 7.0216
vimboss
parents: 308
diff changeset
96 syn region logtalkDir matchgroup=logtalkDirTag start=":- meta_predicate(" matchgroup=logtalkDirTag end=")\." contains=ALL
0f9f4761ad9c updated for version 7.0216
vimboss
parents: 308
diff changeset
97 syn region logtalkDir matchgroup=logtalkDirTag start=":- use_module(" matchgroup=logtalkDirTag end=")\." contains=ALL
0f9f4761ad9c updated for version 7.0216
vimboss
parents: 308
diff changeset
98
0f9f4761ad9c updated for version 7.0216
vimboss
parents: 308
diff changeset
99
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
100 " Logtalk built-in predicates
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
101
294
1c1cbdc42f75 updated for version 7.0077
vimboss
parents: 289
diff changeset
102 syn match logtalkBuiltIn "\<\(abolish\|c\(reate\|urrent\)\)_\(object\|protocol\|category\)\ze("
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
103
10
4e2284e71352 updated for version 7.0002
vimboss
parents: 7
diff changeset
104 syn match logtalkBuiltIn "\<\(object\|protocol\|category\)_property\ze("
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
105
10
4e2284e71352 updated for version 7.0002
vimboss
parents: 7
diff changeset
106 syn match logtalkBuiltIn "\<extends_\(object\|protocol\)\ze("
4e2284e71352 updated for version 7.0002
vimboss
parents: 7
diff changeset
107 syn match logtalkBuiltIn "\<imp\(orts_category\|lements_protocol\)\ze("
4e2284e71352 updated for version 7.0002
vimboss
parents: 7
diff changeset
108 syn match logtalkBuiltIn "\<\(instantiates\|specializes\)_class\ze("
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
109
10
4e2284e71352 updated for version 7.0002
vimboss
parents: 7
diff changeset
110 syn match logtalkBuiltIn "\<\(abolish\|define\)_events\ze("
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
111 syn match logtalkBuiltIn "\<current_event\ze("
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
112
10
4e2284e71352 updated for version 7.0002
vimboss
parents: 7
diff changeset
113 syn match logtalkBuiltIn "\<\(current\|set\)_logtalk_flag\ze("
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
114
214
48c9c2bf59af updated for version 7.0060
vimboss
parents: 21
diff changeset
115 syn match logtalkBuiltIn "\<logtalk_\(compile\|l\(ibrary_path\|oad\)\)\ze("
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
116
214
48c9c2bf59af updated for version 7.0060
vimboss
parents: 21
diff changeset
117 syn match logtalkBuiltIn "\<\(for\|retract\)all\ze("
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
118
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
119
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
120 " Logtalk built-in methods
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
121
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
122 syn match logtalkBuiltInMethod "\<parameter\ze("
10
4e2284e71352 updated for version 7.0002
vimboss
parents: 7
diff changeset
123 syn match logtalkBuiltInMethod "\<se\(lf\|nder\)\ze("
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
124 syn match logtalkBuiltInMethod "\<this\ze("
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
125
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
126 syn match logtalkBuiltInMethod "\<current_predicate\ze("
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
127 syn match logtalkBuiltInMethod "\<predicate_property\ze("
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
128
294
1c1cbdc42f75 updated for version 7.0077
vimboss
parents: 289
diff changeset
129 syn match logtalkBuiltInMethod "\<a\(bolish\|ssert\(a\|z\)\)\ze("
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
130 syn match logtalkBuiltInMethod "\<clause\ze("
294
1c1cbdc42f75 updated for version 7.0077
vimboss
parents: 289
diff changeset
131 syn match logtalkBuiltInMethod "\<retract\(all\)\?\ze("
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
132
10
4e2284e71352 updated for version 7.0002
vimboss
parents: 7
diff changeset
133 syn match logtalkBuiltInMethod "\<\(bag\|set\)of\ze("
4e2284e71352 updated for version 7.0002
vimboss
parents: 7
diff changeset
134 syn match logtalkBuiltInMethod "\<f\(ind\|or\)all\ze("
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
135
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
136 syn match logtalkBuiltInMethod "\<before\ze("
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
137 syn match logtalkBuiltInMethod "\<after\ze("
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
138
214
48c9c2bf59af updated for version 7.0060
vimboss
parents: 21
diff changeset
139 syn match logtalkBuiltInMethod "\<expand_term\ze("
714
0f9f4761ad9c updated for version 7.0216
vimboss
parents: 308
diff changeset
140 syn match logtalkBuiltInMethod "\<term_expansion\ze("
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
141 syn match logtalkBuiltInMethod "\<phrase\ze("
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
142
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
143
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
144 " Mode operators
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
145
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
146 syn match logtalkOperator "?"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
147 syn match logtalkOperator "@"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
148
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
149
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
150 " Control constructs
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
151
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
152 syn match logtalkKeyword "\<true\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
153 syn match logtalkKeyword "\<fail\>"
10
4e2284e71352 updated for version 7.0002
vimboss
parents: 7
diff changeset
154 syn match logtalkKeyword "\<ca\(ll\|tch\)\ze("
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
155 syn match logtalkOperator "!"
10
4e2284e71352 updated for version 7.0002
vimboss
parents: 7
diff changeset
156 " syn match logtalkOperator ","
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
157 syn match logtalkOperator ";"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
158 syn match logtalkOperator "-->"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
159 syn match logtalkOperator "->"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
160 syn match logtalkKeyword "\<throw\ze("
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
161
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
162
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
163 " Term unification
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
164
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
165 syn match logtalkOperator "="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
166 syn match logtalkKeyword "\<unify_with_occurs_check\ze("
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
167 syn match logtalkOperator "\\="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
168
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
169
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
170 " Term testing
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
171
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
172 syn match logtalkKeyword "\<var\ze("
294
1c1cbdc42f75 updated for version 7.0077
vimboss
parents: 289
diff changeset
173 syn match logtalkKeyword "\<atom\(ic\)\?\ze("
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
174 syn match logtalkKeyword "\<integer\ze("
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
175 syn match logtalkKeyword "\<float\ze("
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
176 syn match logtalkKeyword "\<compound\ze("
10
4e2284e71352 updated for version 7.0002
vimboss
parents: 7
diff changeset
177 syn match logtalkKeyword "\<n\(onvar\|umber\)\ze("
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
178
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
179
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
180 " Term comparison
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
181
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
182 syn match logtalkOperator "@=<"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
183 syn match logtalkOperator "=="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
184 syn match logtalkOperator "\\=="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
185 syn match logtalkOperator "@<"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
186 syn match logtalkOperator "@>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
187 syn match logtalkOperator "@>="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
188
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
189
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
190 " Term creation and decomposition
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
191
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
192 syn match logtalkKeyword "\<functor\ze("
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
193 syn match logtalkKeyword "\<arg\ze("
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
194 syn match logtalkOperator "=\.\."
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
195 syn match logtalkKeyword "\<copy_term\ze("
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
196
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
197
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
198 " Arithemtic evaluation
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
199
214
48c9c2bf59af updated for version 7.0060
vimboss
parents: 21
diff changeset
200 syn match logtalkOperator "\<is\>"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
201
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
202
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
203 " Arithemtic comparison
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
204
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
205 syn match logtalkOperator "=:="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
206 syn match logtalkOperator "=\\="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
207 syn match logtalkOperator "<"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
208 syn match logtalkOperator "=<"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
209 syn match logtalkOperator ">"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
210 syn match logtalkOperator ">="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
211
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
212
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
213 " Stream selection and control
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
214
294
1c1cbdc42f75 updated for version 7.0077
vimboss
parents: 289
diff changeset
215 syn match logtalkKeyword "\<\(current\|set\)_\(in\|out\)put\ze("
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
216 syn match logtalkKeyword "\<open\ze("
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
217 syn match logtalkKeyword "\<close\ze("
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
218 syn match logtalkKeyword "\<flush_output\ze("
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
219 syn match logtalkKeyword "\<flush_output\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
220 syn match logtalkKeyword "\<stream_property\ze("
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
221 syn match logtalkKeyword "\<at_end_of_stream\ze("
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
222 syn match logtalkKeyword "\<at_end_of_stream\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
223 syn match logtalkKeyword "\<set_stream_position\ze("
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
224
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
225
10
4e2284e71352 updated for version 7.0002
vimboss
parents: 7
diff changeset
226 " Character and byte input/output
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
227
294
1c1cbdc42f75 updated for version 7.0077
vimboss
parents: 289
diff changeset
228 syn match logtalkKeyword "\<\(get\|p\(eek\|ut\)\)_\(c\(har\|ode\)\|byte\)\ze("
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
229 syn match logtalkKeyword "\<nl\ze("
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
230 syn match logtalkKeyword "\<nl\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
231
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
232
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
233 " Term input/output
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
234
294
1c1cbdc42f75 updated for version 7.0077
vimboss
parents: 289
diff changeset
235 syn match logtalkKeyword "\<read\(_term\)\?\ze("
1c1cbdc42f75 updated for version 7.0077
vimboss
parents: 289
diff changeset
236 syn match logtalkKeyword "\<write\(q\|_\(canonical\|term\)\)\?\ze("
1c1cbdc42f75 updated for version 7.0077
vimboss
parents: 289
diff changeset
237 syn match logtalkKeyword "\<\(current_\)\?op\ze("
1c1cbdc42f75 updated for version 7.0077
vimboss
parents: 289
diff changeset
238 syn match logtalkKeyword "\<\(current\)\?char_conversion\ze("
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
239
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
240
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
241 " Logic and control
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
242
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
243 syn match logtalkOperator "\\+"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
244 syn match logtalkKeyword "\<once\ze("
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
245 syn match logtalkKeyword "\<repeat\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
246
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
247
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
248 " Atomic term processing
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
249
294
1c1cbdc42f75 updated for version 7.0077
vimboss
parents: 289
diff changeset
250 syn match logtalkKeyword "\<atom_\(length\|c\(hars\|o\(ncat\|des\)\)\)\ze("
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
251 syn match logtalkKeyword "\<sub_atom\ze("
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
252 syn match logtalkKeyword "\<char_code\ze("
294
1c1cbdc42f75 updated for version 7.0077
vimboss
parents: 289
diff changeset
253 syn match logtalkKeyword "\<number_\(c\(hars\|odes\)\)\ze("
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
254
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
255
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
256 " Implementation defined hooks functions
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
257
10
4e2284e71352 updated for version 7.0002
vimboss
parents: 7
diff changeset
258 syn match logtalkKeyword "\<\(current\|set\)_prolog_flag\ze("
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
259 syn match logtalkKeyword "\<halt\ze("
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
260 syn match logtalkKeyword "\<halt\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
261
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
262
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
263 " Evaluable functors
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
264
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
265 syn match logtalkOperator "+"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
266 syn match logtalkOperator "-"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
267 syn match logtalkOperator "\*"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
268 syn match logtalkOperator "//"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
269 syn match logtalkOperator "/"
294
1c1cbdc42f75 updated for version 7.0077
vimboss
parents: 289
diff changeset
270 syn match logtalkKeyword "\<r\(ound\|em\)\ze("
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
271 syn match logtalkKeyword "\<rem\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
272 syn match logtalkKeyword "\<mod\ze("
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
273 syn match logtalkKeyword "\<mod\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
274 syn match logtalkKeyword "\<abs\ze("
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
275 syn match logtalkKeyword "\<sign\ze("
294
1c1cbdc42f75 updated for version 7.0077
vimboss
parents: 289
diff changeset
276 syn match logtalkKeyword "\<flo\(or\|at\(_\(integer\|fractional\)_part\)\?\)\ze("
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
277 syn match logtalkKeyword "\<truncate\ze("
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
278 syn match logtalkKeyword "\<ceiling\ze("
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
279
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
280
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
281 " Other arithemtic functors
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
282
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
283 syn match logtalkOperator "\*\*"
10
4e2284e71352 updated for version 7.0002
vimboss
parents: 7
diff changeset
284 syn match logtalkKeyword "\<s\(in\|qrt\)\ze("
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
285 syn match logtalkKeyword "\<cos\ze("
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
286 syn match logtalkKeyword "\<atan\ze("
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
287 syn match logtalkKeyword "\<exp\ze("
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
288 syn match logtalkKeyword "\<log\ze("
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
289
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
290
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
291 " Bitwise functors
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
292
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
293 syn match logtalkOperator ">>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
294 syn match logtalkOperator "<<"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
295 syn match logtalkOperator "/\\"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
296 syn match logtalkOperator "\\/"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
297 syn match logtalkOperator "\\"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
298
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
299
294
1c1cbdc42f75 updated for version 7.0077
vimboss
parents: 289
diff changeset
300 " Logtalk list operator
1c1cbdc42f75 updated for version 7.0077
vimboss
parents: 289
diff changeset
301
1c1cbdc42f75 updated for version 7.0077
vimboss
parents: 289
diff changeset
302 syn match logtalkOperator "|"
1c1cbdc42f75 updated for version 7.0077
vimboss
parents: 289
diff changeset
303
1c1cbdc42f75 updated for version 7.0077
vimboss
parents: 289
diff changeset
304
1c1cbdc42f75 updated for version 7.0077
vimboss
parents: 289
diff changeset
305 " Logtalk numbers
1c1cbdc42f75 updated for version 7.0077
vimboss
parents: 289
diff changeset
306
1c1cbdc42f75 updated for version 7.0077
vimboss
parents: 289
diff changeset
307 syn match logtalkNumber "\<\d\+\>"
1c1cbdc42f75 updated for version 7.0077
vimboss
parents: 289
diff changeset
308 syn match logtalkNumber "\<\d\+\.\d\+\>"
1c1cbdc42f75 updated for version 7.0077
vimboss
parents: 289
diff changeset
309 syn match logtalkNumber "\<\d\+[eE][-+]\=\d\+\>"
1c1cbdc42f75 updated for version 7.0077
vimboss
parents: 289
diff changeset
310 syn match logtalkNumber "\<\d\+\.\d\+[eE][-+]\=\d\+\>"
308
74e9d19831c2 updated for version 7.0081
vimboss
parents: 294
diff changeset
311 syn match logtalkNumber "\<0'.\>"
294
1c1cbdc42f75 updated for version 7.0077
vimboss
parents: 289
diff changeset
312 syn match logtalkNumber "\<0b[0-1]\+\>"
308
74e9d19831c2 updated for version 7.0081
vimboss
parents: 294
diff changeset
313 syn match logtalkNumber "\<0o\o\+\>"
294
1c1cbdc42f75 updated for version 7.0077
vimboss
parents: 289
diff changeset
314 syn match logtalkNumber "\<0x\x\+\>"
1c1cbdc42f75 updated for version 7.0077
vimboss
parents: 289
diff changeset
315
1c1cbdc42f75 updated for version 7.0077
vimboss
parents: 289
diff changeset
316
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
317 " Logtalk end-of-clause
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
318
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
319 syn match logtalkOperator "\."
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
320
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
321
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
322 " Logtalk comments
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
323
308
74e9d19831c2 updated for version 7.0081
vimboss
parents: 294
diff changeset
324 syn region logtalkBlockComment start="/\*" end="\*/" fold
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
325 syn match logtalkLineComment "%.*"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
326
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
327
308
74e9d19831c2 updated for version 7.0081
vimboss
parents: 294
diff changeset
328 " Logtalk entity folding
74e9d19831c2 updated for version 7.0081
vimboss
parents: 294
diff changeset
329
74e9d19831c2 updated for version 7.0081
vimboss
parents: 294
diff changeset
330 syn region logtalkEntity transparent fold keepend start=":- object(" end=":- end_object\." contains=ALL
74e9d19831c2 updated for version 7.0081
vimboss
parents: 294
diff changeset
331 syn region logtalkEntity transparent fold keepend start=":- protocol(" end=":- end_protocol\." contains=ALL
74e9d19831c2 updated for version 7.0081
vimboss
parents: 294
diff changeset
332 syn region logtalkEntity transparent fold keepend start=":- category(" end=":- end_category\." contains=ALL
74e9d19831c2 updated for version 7.0081
vimboss
parents: 294
diff changeset
333
74e9d19831c2 updated for version 7.0081
vimboss
parents: 294
diff changeset
334
214
48c9c2bf59af updated for version 7.0060
vimboss
parents: 21
diff changeset
335 syn sync ccomment logtalkBlockComment maxlines=50
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
336
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
337
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
338 " Define the default highlighting.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
339 " For version 5.7 and earlier: only when not done already
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
340 " For version 5.8 and later: only when an item doesn't have highlighting yet
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
341
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
342 if version >= 508 || !exists("did_logtalk_syn_inits")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
343 if version < 508
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
344 let did_logtalk_syn_inits = 1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
345 command -nargs=+ HiLink hi link <args>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
346 else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
347 command -nargs=+ HiLink hi def link <args>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
348 endif
294
1c1cbdc42f75 updated for version 7.0077
vimboss
parents: 289
diff changeset
349
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
350 HiLink logtalkBlockComment Comment
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
351 HiLink logtalkLineComment Comment
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
352
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
353 HiLink logtalkOpenEntityDir Normal
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
354 HiLink logtalkOpenEntityDirTag PreProc
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
355
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
356 HiLink logtalkEntity Normal
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
357
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
358 HiLink logtalkEntityRel Normal
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
359 HiLink logtalkEntityRelTag PreProc
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
360
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
361 HiLink logtalkCloseEntityDir PreProc
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
362
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
363 HiLink logtalkDir Normal
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
364 HiLink logtalkDirTag PreProc
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
365
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
366 HiLink logtalkAtom String
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
367 HiLink logtalkString String
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
368
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
369 HiLink logtalkNumber Number
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
370
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
371 HiLink logtalkKeyword Keyword
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
372
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
373 HiLink logtalkBuiltIn Keyword
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
374 HiLink logtalkBuiltInMethod Keyword
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
375
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
376 HiLink logtalkOperator Operator
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
377
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
378 HiLink logtalkExtCall Normal
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
379 HiLink logtalkExtCallTag Operator
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
380
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
381 HiLink logtalkVariable Identifier
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
382
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
383 delcommand HiLink
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
384
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
385 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
386
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
387
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
388 let b:current_syntax = "logtalk"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
389
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
390 setlocal ts=4
308
74e9d19831c2 updated for version 7.0081
vimboss
parents: 294
diff changeset
391 setlocal fdm=syntax
74e9d19831c2 updated for version 7.0081
vimboss
parents: 294
diff changeset
392 setlocal fdc=2