annotate runtime/syntax/moo.vim @ 28233:e31f1a949d4e v8.2.4643

patch 8.2.4643: Vim9: variable may be locked unintentionally Commit: https://github.com/vim/vim/commit/24565cf27bc28cbd73f10e5ddf1e4ef53038a426 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Mar 28 18:16:52 2022 +0100 patch 8.2.4643: Vim9: variable may be locked unintentionally Problem: Vim9: variable may be locked unintentionally. Solution: Clear "v_lock". (closes https://github.com/vim/vim/issues/10036)
author Bram Moolenaar <Bram@vim.org>
date Mon, 28 Mar 2022 19:30:03 +0200
parents 5b7ea82bc18f
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
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2 " Language: MOO
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3 " Maintainer: Timo Frenay <timo@frenay.net>
22723
5b7ea82bc18f Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 10048
diff changeset
4 " Last Change: 2020 Oct 19
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5 " Note: Requires Vim 6.0 or above
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6
10048
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 7
diff changeset
7 " quit when a syntax file was already loaded
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 7
diff changeset
8 if exists("b:current_syntax")
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9 finish
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12 " Initializations
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13 syn case ignore
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15 " C-style comments
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16 syn match mooUncommentedError display ~\*/~
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17 syn match mooCStyleCommentError display ~/\ze\*~ contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18 syn region mooCStyleComment matchgroup=mooComment start=~/\*~ end=~\*/~ contains=mooCStyleCommentError
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20 " Statements
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21 if exists("moo_extended_cstyle_comments")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22 syn match mooIdentifier display ~\%(\%(/\*.\{-}\*/\s*\)*\)\@>\<\h\w*\>~ contained transparent contains=mooCStyleComment,@mooKeyword,mooType,mooVariable
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23 else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24 syn match mooIdentifier display ~\<\h\w*\>~ contained transparent contains=@mooKeyword,mooType,mooVariable
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26 syn keyword mooStatement break continue else elseif endfor endfork endif endtry endwhile finally for if try
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
27 syn keyword mooStatement except fork while nextgroup=mooIdentifier skipwhite
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
28 syn keyword mooStatement return nextgroup=mooString skipwhite
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
29
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
30 " Operators
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
31 syn keyword mooOperatorIn in
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
32
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
33 " Error constants
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
34 syn keyword mooAny ANY
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
35 syn keyword mooErrorConstant E_ARGS E_INVARG E_DIV E_FLOAT E_INVIND E_MAXREC E_NACC E_NONE E_PERM E_PROPNF E_QUOTA E_RANGE E_RECMOVE E_TYPE E_VARNF E_VERBNF
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
36
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
37 " Builtin variables
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
38 syn match mooType display ~\<\%(ERR\|FLOAT\|INT\|LIST\|NUM\|OBJ\|STR\)\>~
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
39 syn match mooVariable display ~\<\%(args\%(tr\)\=\|caller\|dobj\%(str\)\=\|iobj\%(str\)\=\|player\|prepstr\|this\|verb\)\>~
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
40
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
41 " Strings
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
42 syn match mooStringError display ~[^\t -[\]-~]~ contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
43 syn match mooStringSpecialChar display ~\\["\\]~ contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
44 if !exists("moo_no_regexp")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
45 " Regular expressions
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
46 syn match mooRegexp display ~%%~ contained containedin=mooString,mooRegexpParentheses transparent contains=NONE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
47 syn region mooRegexpParentheses display matchgroup=mooRegexpOr start=~%(~ skip=~%%~ end=~%)~ contained containedin=mooString,mooRegexpParentheses transparent oneline
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
48 syn match mooRegexpOr display ~%|~ contained containedin=mooString,mooRegexpParentheses
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
49 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
50 if !exists("moo_no_pronoun_sub")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
51 " Pronoun substitutions
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
52 syn match mooPronounSub display ~%%~ contained containedin=mooString transparent contains=NONE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
53 syn match mooPronounSub display ~%[#dilnopqrst]~ contained containedin=mooString
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
54 syn match mooPronounSub display ~%\[#[dilnt]\]~ contained containedin=mooString
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
55 syn match mooPronounSub display ~%(\h\w*)~ contained containedin=mooString
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
56 syn match mooPronounSub display ~%\[[dilnt]\h\w*\]~ contained containedin=mooString
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
57 syn match mooPronounSub display ~%<\%([dilnt]:\)\=\a\+>~ contained containedin=mooString
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
58 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
59 if exists("moo_unmatched_quotes")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
60 syn region mooString matchgroup=mooStringError start=~"~ end=~$~ contains=@mooStringContents keepend
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
61 syn region mooString start=~"~ skip=~\\.~ end=~"~ contains=@mooStringContents oneline keepend
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
62 else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
63 syn region mooString start=~"~ skip=~\\.~ end=~"\|$~ contains=@mooStringContents keepend
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
64 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
65
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
66 " Numbers and object numbers
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
67 syn match mooNumber display ~\%(\%(\<\d\+\)\=\.\d\+\|\<\d\+\)\%(e[+\-]\=\d\+\)\=\>~
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
68 syn match mooObject display ~#-\=\d\+\>~
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
69
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
70 " Properties and verbs
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
71 if exists("moo_builtin_properties")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
72 "Builtin properties
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
73 syn keyword mooBuiltinProperty contents f location name owner programmer r w wizard contained containedin=mooPropRef
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
74 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
75 if exists("moo_extended_cstyle_comments")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
76 syn match mooPropRef display ~\.\s*\%(\%(/\*.\{-}\*/\s*\)*\)\@>\h\w*\>~ transparent contains=mooCStyleComment,@mooKeyword
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
77 syn match mooVerbRef display ~:\s*\%(\%(/\*.\{-}\*/\s*\)*\)\@>\h\w*\>~ transparent contains=mooCStyleComment,@mooKeyword
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
78 else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
79 syn match mooPropRef display ~\.\s*\h\w*\>~ transparent contains=@mooKeyword
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
80 syn match mooVerbRef display ~:\s*\h\w*\>~ transparent contains=@mooKeyword
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
81 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
82
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
83 " Builtin functions, core properties and core verbs
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
84 if exists("moo_extended_cstyle_comments")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
85 syn match mooBuiltinFunction display ~\<\h\w*\s*\%(\%(/\*.\{-}\*/\s*\)*\)\@>\ze(~ contains=mooCStyleComment
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
86 syn match mooCorePropOrVerb display ~\$\s*\%(\%(/\*.\{-}\*/\s*\)*\)\@>\%(in\>\)\@!\h\w*\>~ contains=mooCStyleComment,@mooKeyword
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
87 else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
88 syn match mooBuiltinFunction display ~\<\h\w*\s*\ze(~ contains=NONE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
89 syn match mooCorePropOrVerb display ~\$\s*\%(in\>\)\@!\h\w*\>~ contains=@mooKeyword
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
90 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
91 if exists("moo_unknown_builtin_functions")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
92 syn match mooUnknownBuiltinFunction ~\<\h\w*\>~ contained containedin=mooBuiltinFunction contains=mooKnownBuiltinFunction
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
93 " Known builtin functions as of version 1.8.1 of the server
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
94 " Add your own extensions to this group if you like
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
95 syn keyword mooKnownBuiltinFunction abs acos add_property add_verb asin atan binary_hash boot_player buffered_output_length callers caller_perms call_function ceil children chparent clear_property connected_players connected_seconds connection_name connection_option connection_options cos cosh create crypt ctime db_disk_size decode_binary delete_property delete_verb disassemble dump_database encode_binary equal eval exp floatstr floor flush_input force_input function_info idle_seconds index is_clear_property is_member is_player kill_task length listappend listdelete listen listeners listinsert listset log log10 match max max_object memory_usage min move notify object_bytes open_network_connection output_delimiters parent pass players properties property_info queued_tasks queue_info raise random read recycle renumber reset_max_object resume rindex rmatch seconds_left server_log server_version setadd setremove set_connection_option set_player_flag set_property_info set_task_perms set_verb_args set_verb_code set_verb_info shutdown sin sinh sqrt strcmp string_hash strsub substitute suspend tan tanh task_id task_stack ticks_left time tofloat toint toliteral tonum toobj tostr trunc typeof unlisten valid value_bytes value_hash verbs verb_args verb_code verb_info contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
96 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
97
22723
5b7ea82bc18f Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 10048
diff changeset
98 " Enclosed expressions
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
99 syn match mooUnenclosedError display ~[')\]|}]~
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
100 syn match mooParenthesesError display ~[';\]|}]~ contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
101 syn region mooParentheses start=~(~ end=~)~ transparent contains=@mooEnclosedContents,mooParenthesesError
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
102 syn match mooBracketsError display ~[');|}]~ contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
103 syn region mooBrackets start=~\[~ end=~\]~ transparent contains=@mooEnclosedContents,mooBracketsError
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
104 syn match mooBracesError display ~[');\]|]~ contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
105 syn region mooBraces start=~{~ end=~}~ transparent contains=@mooEnclosedContents,mooBracesError
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
106 syn match mooQuestionError display ~[');\]}]~ contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
107 syn region mooQuestion start=~?~ end=~|~ transparent contains=@mooEnclosedContents,mooQuestionError
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
108 syn match mooCatchError display ~[);\]|}]~ contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
109 syn region mooCatch matchgroup=mooExclamation start=~`~ end=~'~ transparent contains=@mooEnclosedContents,mooCatchError,mooExclamation
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
110 if exists("moo_extended_cstyle_comments")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
111 syn match mooExclamation display ~[\t !%&(*+,\-/<=>?@[^`{|]\@<!\s*\%(\%(/\*.\{-}\*/\s*\)*\)\@>!=\@!~ contained contains=mooCStyleComment
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
112 else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
113 syn match mooExclamation display ~[\t !%&(*+,\-/<=>?@[^`{|]\@<!\s*!=\@!~ contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
114 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
115
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
116 " Comments
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
117 syn match mooCommentSpecialChar display ~\\["\\]~ contained transparent contains=NONE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
118 syn match mooComment ~[\t !%&*+,\-/<=>?@^|]\@<!\s*"\([^\"]\|\\.\)*"\s*;~ contains=mooStringError,mooCommentSpecialChar
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
119
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
120 " Non-code
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
121 syn region mooNonCode start=~^\s*@\<~ end=~$~
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
122 syn match mooNonCode display ~^\.$~
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
123 syn match mooNonCode display ~^\s*\d\+:~he=e-1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
124
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
125 " Overriding matches
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
126 syn match mooRangeOperator display ~\.\.~ transparent contains=NONE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
127 syn match mooOrOperator display ~||~ transparent contains=NONE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
128 if exists("moo_extended_cstyle_comments")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
129 syn match mooScattering ~[,{]\@<=\s*\%(\%(/\*.\{-}\*/\s*\)*\)\@>?~ transparent contains=mooCStyleComment
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
130 else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
131 syn match mooScattering ~[,{]\@<=\s*?~ transparent contains=NONE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
132 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
133
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
134 " Clusters
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
135 syn cluster mooKeyword contains=mooStatement,mooOperatorIn,mooAny,mooErrorConstant
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
136 syn cluster mooStringContents contains=mooStringError,mooStringSpecialChar
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
137 syn cluster mooEnclosedContents contains=TOP,mooUnenclosedError,mooComment,mooNonCode
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
138
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
139 " Define the default highlighting.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
140 hi def link mooUncommentedError Error
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
141 hi def link mooCStyleCommentError Error
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
142 hi def link mooCStyleComment Comment
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
143 hi def link mooStatement Statement
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
144 hi def link mooOperatorIn Operator
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
145 hi def link mooAny Constant " link this to Keyword if you want
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
146 hi def link mooErrorConstant Constant
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
147 hi def link mooType Type
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
148 hi def link mooVariable Type
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
149 hi def link mooStringError Error
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
150 hi def link mooStringSpecialChar SpecialChar
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
151 hi def link mooRegexpOr SpecialChar
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
152 hi def link mooPronounSub SpecialChar
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
153 hi def link mooString String
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
154 hi def link mooNumber Number
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
155 hi def link mooObject Number
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
156 hi def link mooBuiltinProperty Type
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
157 hi def link mooBuiltinFunction Function
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
158 hi def link mooUnknownBuiltinFunction Error
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
159 hi def link mooKnownBuiltinFunction Function
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
160 hi def link mooCorePropOrVerb Identifier
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
161 hi def link mooUnenclosedError Error
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
162 hi def link mooParenthesesError Error
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
163 hi def link mooBracketsError Error
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
164 hi def link mooBracesError Error
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
165 hi def link mooQuestionError Error
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
166 hi def link mooCatchError Error
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
167 hi def link mooExclamation Exception
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
168 hi def link mooComment Comment
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
169 hi def link mooNonCode PreProc
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
170
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
171 let b:current_syntax = "moo"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
172
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
173 " vim: ts=8