annotate runtime/syntax/logtalk.vim @ 3137:b5a2b4c0c1ca v7.3.339

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