annotate runtime/syntax/erlang.vim @ 1828:cfccbe492612 v7.2.126

updated for version 7.2-126
author vimboss
date Tue, 24 Feb 2009 03:30:14 +0000
parents 82b5078be2dd
children 7bc41231fbc7
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: erlang (ERicsson LANGuage)
1621
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
3 " http://www.erlang.se
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
4 " http://www.erlang.org
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
5 " Maintainer: Csaba Hoch <csaba.hoch@gmail.com>
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
6 " Former Maintainer: Kreąimir Marľić (Kresimir Marzic) <kmarzic@fly.srk.fer.hr>
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
7 " Last update: 12-Mar-2008
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8 " Filenames: .erl
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11 " There are three sets of highlighting in here:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12 " One is "erlang_characters", second is "erlang_functions" and third
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13 " is "erlang_keywords".
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14 " If you want to disable keywords highlighting, put in your .vimrc:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15 " let erlang_keywords=1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16 " If you want to disable erlang BIF highlighting, put in your .vimrc
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17 " this:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18 " let erlang_functions=1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19 " If you want to disable special characters highlighting, put in
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20 " your .vimrc:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21 " let erlang_characters=1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24 " For version 5.x: Clear all syntax items
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25 " For version 6.x: Quit when a syntax file was already loaded
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26 if version < 600
1621
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
27 syntax clear
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
28 elseif exists ("b:current_syntax")
1621
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
29 finish
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
30 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
31
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
32
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
33 " Case sensitive
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
34 syn case match
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
35
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
36
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
37 if ! exists ("erlang_characters")
1621
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
38
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
39 " Basic elements
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
40 syn match erlangComment "%.*$" contains=erlangAnnotation,erlangTodo
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
41 syn match erlangAnnotation " \@<=@\%(clear\|docfile\|end\|headerfile\|todo\|TODO\|type\|author\|copyright\|doc\|reference\|see\|since\|title\|version\|deprecated\|hidden\|private\|equiv\|spec\|throws\)" contained
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
42 syn match erlangAnnotation "`[^']*'" contained
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
43 syn keyword erlangTodo TODO FIXME XXX contained
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
44 syn match erlangModifier "\~\a\|\\\a\|\\\\" contained
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
45 syn match erlangSpecialCharacter ":\|_\|@\|\\\|\"\|\."
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
46 syn match erlangSeparator "(\|)\|{\|}\|\[\|]\||\|||\|;\|,\|?\|->\|#" contained
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
47 syn region erlangString start=+"+ skip=+\\.+ end=+"+ contains=erlangModifier
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
48 syn region erlangAtom start=+'+ skip=+\\'+ end=+'+
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
49
1621
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
50 " Operators
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
51 syn match erlangOperator "+\|-\|\*\|\/"
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
52 syn keyword erlangOperator div rem or xor bor bxor bsl bsr
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
53 syn keyword erlangOperator and band not bnot
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
54 syn match erlangOperator "==\|/=\|=:=\|=/=\|<\|=<\|>\|>="
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
55 syn match erlangOperator "++\|--\|=\|!\|<-"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
56
1621
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
57 " Numbers
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
58 syn match erlangNumberInteger "\d\+" contains=erlangSeparator
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
59 syn match erlangNumberFloat1 "\d\+\.\d\+" contains=erlangSeparator
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
60 syn match erlangNumberFloat2 "\d\+\(\.\d\+\)\=[eE][+-]\=\d\+\(\.\d\+\)\=" contains=erlangSeparator
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
61 syn match erlangNumberFloat3 "\d\+[#]\x\+" contains=erlangSeparator
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
62 syn match erlangNumberHex "$\x\+" contains=erlangSeparator
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
63
1621
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
64 " Ignore '_' and '-' in words
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
65 syn match erlangWord "\h\+\w*"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
66
1621
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
67 syn match erlangChar /\$./
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
68 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
69
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
70 if ! exists ("erlang_functions")
1621
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
71 " Functions call
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
72 syn match erlangFCall "\%(\w\+\s*\.\s*\)*\w\+\s*[:@]\s*\w\+"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
73
1621
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
74 " build-in-functions (BIFs)
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
75 syn keyword erlangBIF abs alive apply atom_to_list
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
76 syn keyword erlangBIF binary_to_list binary_to_term
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
77 syn keyword erlangBIF concat_binary
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
78 syn keyword erlangBIF date disconnect_node
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
79 syn keyword erlangBIF element erase exit
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
80 syn keyword erlangBIF float float_to_list
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
81 syn keyword erlangBIF get get_keys group_leader
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
82 syn keyword erlangBIF halt hd
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
83 syn keyword erlangBIF integer_to_list is_alive
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
84 syn keyword erlangBIF length link list_to_atom list_to_binary
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
85 syn keyword erlangBIF list_to_float list_to_integer list_to_pid
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
86 syn keyword erlangBIF list_to_tuple load_module
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
87 syn keyword erlangBIF make_ref monitor_node
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
88 syn keyword erlangBIF node nodes now
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
89 syn keyword erlangBIF open_port
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
90 syn keyword erlangBIF pid_to_list process_flag
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
91 syn keyword erlangBIF process_info process put
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
92 syn keyword erlangBIF register registered round
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
93 syn keyword erlangBIF self setelement size spawn
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
94 syn keyword erlangBIF spawn_link split_binary statistics
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
95 syn keyword erlangBIF term_to_binary throw time tl trunc
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
96 syn keyword erlangBIF tuple_to_list
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
97 syn keyword erlangBIF unlink unregister
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
98 syn keyword erlangBIF whereis
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
99
1621
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
100 " Other BIFs
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
101 syn keyword erlangBIF atom binary constant function integer
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
102 syn keyword erlangBIF list number pid ports port_close port_info
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
103 syn keyword erlangBIF reference record
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
104
1621
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
105 " erlang:BIFs
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
106 syn keyword erlangBIF check_process_code delete_module
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
107 syn keyword erlangBIF get_cookie hash math module_loaded
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
108 syn keyword erlangBIF preloaded processes purge_module set_cookie
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
109 syn keyword erlangBIF set_node
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
110
1621
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
111 " functions of math library
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
112 syn keyword erlangFunction acos asin atan atan2 cos cosh exp
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
113 syn keyword erlangFunction log log10 pi pow power sin sinh sqrt
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
114 syn keyword erlangFunction tan tanh
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
115
1621
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
116 " Other functions
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
117 syn keyword erlangFunction call module_info parse_transform
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
118 syn keyword erlangFunction undefined_function
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
119
1621
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
120 " Modules
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
121 syn keyword erlangModule error_handler
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
122 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
123
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
124 if ! exists ("erlang_keywords")
1621
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
125 " Constants and Directives
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
126 syn match erlangDirective "-behaviour\|-behaviour"
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
127 syn match erlangDirective "-compile\|-define\|-else\|-endif\|-export\|-file"
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
128 syn match erlangDirective "-ifdef\|-ifndef\|-import\|-include_lib\|-include"
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
129 syn match erlangDirective "-module\|-record\|-undef"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
130
1621
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
131 syn match erlangConstant "-author\|-copyright\|-doc\|-vsn"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
132
1621
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
133 " Keywords
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
134 syn keyword erlangKeyword after begin case catch
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
135 syn keyword erlangKeyword cond end fun if
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
136 syn keyword erlangKeyword let of query receive
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
137 syn keyword erlangKeyword when
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
138 syn keyword erlangKeyword try
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
139
1621
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
140 " Processes
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
141 syn keyword erlangProcess creation current_function dictionary
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
142 syn keyword erlangProcess group_leader heap_size high initial_call
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
143 syn keyword erlangProcess linked low memory_in_use message_queue
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
144 syn keyword erlangProcess net_kernel node normal priority
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
145 syn keyword erlangProcess reductions registered_name runnable
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
146 syn keyword erlangProcess running stack_trace status timer
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
147 syn keyword erlangProcess trap_exit waiting
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
148
1621
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
149 " Ports
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
150 syn keyword erlangPort command count_in count_out creation in
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
151 syn keyword erlangPort in_format linked node out owner packeting
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
152
1621
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
153 " Nodes
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
154 syn keyword erlangNode atom_tables communicating creation
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
155 syn keyword erlangNode current_gc current_reductions current_runtime
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
156 syn keyword erlangNode current_wall_clock distribution_port
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
157 syn keyword erlangNode entry_points error_handler friends
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
158 syn keyword erlangNode garbage_collection magic_cookie magic_cookies
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
159 syn keyword erlangNode module_table monitored_nodes name next_ref
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
160 syn keyword erlangNode ports preloaded processes reductions
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
161 syn keyword erlangNode ref_state registry runtime wall_clock
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
162
1621
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
163 " Reserved
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
164 syn keyword erlangReserved apply_lambda module_info module_lambdas
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
165 syn keyword erlangReserved record record_index record_info
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
166
1621
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
167 " Extras
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
168 syn keyword erlangExtra badarg nocookie false fun true
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
169
1621
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
170 " Signals
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
171 syn keyword erlangSignal badsig kill killed exit normal
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
172 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
173
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
174
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
175
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
176 " Define the default highlighting.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
177 " For version 5.7 and earlier: only when not done already
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
178 " 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
179 if version >= 508 || !exists ("did_erlang_inits")
1621
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
180 if version < 508
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
181 let did_erlang_inits = 1
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
182 command -nargs=+ HiLink hi link <args>
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
183 else
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
184 command -nargs=+ HiLink hi def link <args>
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
185 endif
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
186
1621
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
187 " erlang_characters
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
188 HiLink erlangComment Comment
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
189 HiLink erlangAnnotation Special
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
190 HiLink erlangTodo Todo
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
191 HiLink erlangSpecialCharacter Special
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
192 HiLink erlangSeparator Normal
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
193 HiLink erlangModifier Special
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
194 HiLink erlangOperator Operator
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
195 HiLink erlangString String
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
196 HiLink erlangAtom Type
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
197
1621
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
198 HiLink erlangNumberInteger Number
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
199 HiLink erlangNumberFloat1 Float
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
200 HiLink erlangNumberFloat2 Float
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
201 HiLink erlangNumberFloat3 Float
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
202 HiLink erlangNumberFloat4 Float
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
203 HiLink erlangNumberHex Number
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
204
1621
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
205 HiLink erlangWord Normal
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
206
1621
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
207 " erlang_functions
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
208 HiLink erlangFCall Function
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
209 HiLink erlangBIF Function
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
210 HiLink erlangFunction Function
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
211 HiLink erlangModuleFunction Function
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
212
1621
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
213 " erlang_keywords
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
214 HiLink erlangDirective Type
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
215 HiLink erlangConstant Type
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
216 HiLink erlangKeyword Keyword
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
217 HiLink erlangProcess Special
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
218 HiLink erlangPort Special
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
219 HiLink erlangNode Special
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
220 HiLink erlangReserved Statement
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
221 HiLink erlangExtra Statement
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
222 HiLink erlangSignal Statement
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
223
1621
82b5078be2dd updated for version 7.2a
vimboss
parents: 7
diff changeset
224 delcommand HiLink
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
225 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
226
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
227
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
228 let b:current_syntax = "erlang"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
229