Mercurial > vim
comparison runtime/syntax/logtalk.vim @ 714:0f9f4761ad9c v7.0216
updated for version 7.0216
author | vimboss |
---|---|
date | Mon, 06 Mar 2006 23:29:24 +0000 |
parents | 74e9d19831c2 |
children | 0b796e045c42 |
comparison
equal
deleted
inserted
replaced
713:0c381fb7846c | 714:0f9f4761ad9c |
---|---|
1 " Vim syntax file | 1 " Vim syntax file |
2 " | 2 " |
3 " Language: Logtalk | 3 " Language: Logtalk |
4 " Maintainer: Paulo Moura <pmoura@logtalk.org> | 4 " Maintainer: Paulo Moura <pmoura@logtalk.org> |
5 " Last Change: June 6, 2005 | 5 " Last Change: February 24, 2006 |
6 | 6 |
7 | 7 |
8 " Quit when a syntax file was already loaded: | 8 " Quit when a syntax file was already loaded: |
9 | 9 |
10 if version < 600 | 10 if version < 600 |
87 syn region logtalkDir matchgroup=logtalkDirTag start=":- op(" matchgroup=logtalkDirTag end=")\." contains=ALL | 87 syn region logtalkDir matchgroup=logtalkDirTag start=":- op(" matchgroup=logtalkDirTag end=")\." contains=ALL |
88 syn region logtalkDir matchgroup=logtalkDirTag start=":- calls(" matchgroup=logtalkDirTag end=")\." contains=ALL | 88 syn region logtalkDir matchgroup=logtalkDirTag start=":- calls(" matchgroup=logtalkDirTag end=")\." contains=ALL |
89 syn region logtalkDir matchgroup=logtalkDirTag start=":- uses(" matchgroup=logtalkDirTag end=")\." contains=ALL | 89 syn region logtalkDir matchgroup=logtalkDirTag start=":- uses(" matchgroup=logtalkDirTag end=")\." contains=ALL |
90 | 90 |
91 | 91 |
92 " Module directives | |
93 | |
94 syn region logtalkDir matchgroup=logtalkDirTag start=":- module(" matchgroup=logtalkDirTag end=")\." contains=ALL | |
95 syn region logtalkDir matchgroup=logtalkDirTag start=":- export(" matchgroup=logtalkDirTag end=")\." contains=ALL | |
96 syn region logtalkDir matchgroup=logtalkDirTag start=":- meta_predicate(" matchgroup=logtalkDirTag end=")\." contains=ALL | |
97 syn region logtalkDir matchgroup=logtalkDirTag start=":- use_module(" matchgroup=logtalkDirTag end=")\." contains=ALL | |
98 | |
99 | |
92 " Logtalk built-in predicates | 100 " Logtalk built-in predicates |
93 | 101 |
94 syn match logtalkBuiltIn "\<\(abolish\|c\(reate\|urrent\)\)_\(object\|protocol\|category\)\ze(" | 102 syn match logtalkBuiltIn "\<\(abolish\|c\(reate\|urrent\)\)_\(object\|protocol\|category\)\ze(" |
95 | 103 |
96 syn match logtalkBuiltIn "\<\(object\|protocol\|category\)_property\ze(" | 104 syn match logtalkBuiltIn "\<\(object\|protocol\|category\)_property\ze(" |
127 | 135 |
128 syn match logtalkBuiltInMethod "\<before\ze(" | 136 syn match logtalkBuiltInMethod "\<before\ze(" |
129 syn match logtalkBuiltInMethod "\<after\ze(" | 137 syn match logtalkBuiltInMethod "\<after\ze(" |
130 | 138 |
131 syn match logtalkBuiltInMethod "\<expand_term\ze(" | 139 syn match logtalkBuiltInMethod "\<expand_term\ze(" |
140 syn match logtalkBuiltInMethod "\<term_expansion\ze(" | |
132 syn match logtalkBuiltInMethod "\<phrase\ze(" | 141 syn match logtalkBuiltInMethod "\<phrase\ze(" |
133 | 142 |
134 | 143 |
135 " Mode operators | 144 " Mode operators |
136 | 145 |