annotate runtime/syntax/d.vim @ 17:9be87deaeb52 v7.0009

updated for version 7.0009
author vimboss
date Fri, 16 Jul 2004 20:18:37 +0000
parents 3fc0f57ecb91
children 3b32f6b507fa
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
17
9be87deaeb52 updated for version 7.0009
vimboss
parents: 7
diff changeset
1 " Vim syntax file for the D programming language (version 0.95).
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2 "
17
9be87deaeb52 updated for version 7.0009
vimboss
parents: 7
diff changeset
3 " Language: D
9be87deaeb52 updated for version 7.0009
vimboss
parents: 7
diff changeset
4 " Maintainer: Jason Mills<jmills@cs.mun.ca>
9be87deaeb52 updated for version 7.0009
vimboss
parents: 7
diff changeset
5 " Last Change: 2004 Jul 15
9be87deaeb52 updated for version 7.0009
vimboss
parents: 7
diff changeset
6 " Version: 0.10
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7 "
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8 " Options:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9 " d_comment_strings - set to highlight strings and numbers in comments
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10 "
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11 " d_hl_operator_overload - set to highlight D's specially named functions
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12 " that when overloaded implement unary and binary operators (e.g. cmp).
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13 "
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14 " Todo:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15 " - Allow user to set sync minlines
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16 "
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17 " - Several keywords (namely, in and out) are both storage class and
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18 " statements, depending on their context. Must use some matching to figure
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19 " out which and highlight appropriately. For now I have made such keywords
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20 " statements.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21 "
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22 " - Mark contents of the asm statement body as special
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23 "
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25 " Quit when a syntax file was already loaded
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26 if exists("b:current_syntax")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
27 finish
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
28 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
29
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
30 " Keyword definitions
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
31 "
17
9be87deaeb52 updated for version 7.0009
vimboss
parents: 7
diff changeset
32 syn keyword dExternal import package module extern
9be87deaeb52 updated for version 7.0009
vimboss
parents: 7
diff changeset
33 syn keyword dConditional if else switch
9be87deaeb52 updated for version 7.0009
vimboss
parents: 7
diff changeset
34 syn keyword dBranch goto break continue
9be87deaeb52 updated for version 7.0009
vimboss
parents: 7
diff changeset
35 syn keyword dRepeat while for do foreach
9be87deaeb52 updated for version 7.0009
vimboss
parents: 7
diff changeset
36 syn keyword dBoolean true false
9be87deaeb52 updated for version 7.0009
vimboss
parents: 7
diff changeset
37 syn keyword dConstant null
9be87deaeb52 updated for version 7.0009
vimboss
parents: 7
diff changeset
38 syn keyword dTypedef alias typedef
9be87deaeb52 updated for version 7.0009
vimboss
parents: 7
diff changeset
39 syn keyword dStructure template interface class enum struct union
9be87deaeb52 updated for version 7.0009
vimboss
parents: 7
diff changeset
40 syn keyword dOperator new delete typeof typeid cast align is
9be87deaeb52 updated for version 7.0009
vimboss
parents: 7
diff changeset
41 syn keyword dOperator this super
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
42 if exists("d_hl_operator_overload")
17
9be87deaeb52 updated for version 7.0009
vimboss
parents: 7
diff changeset
43 syn keyword dOpOverload opNeg opCom opPostInc opPostDec opAdd opSub opSub_r
9be87deaeb52 updated for version 7.0009
vimboss
parents: 7
diff changeset
44 syn keyword dOpOverload opMul opDiv opDiv_r opMod opMod_r opAnd opOr opXor
9be87deaeb52 updated for version 7.0009
vimboss
parents: 7
diff changeset
45 syn keyword dOpOverload opShl opShl_r opShr opShr_r opUShr opUShr_r opCat
9be87deaeb52 updated for version 7.0009
vimboss
parents: 7
diff changeset
46 syn keyword dOpOverload opCat_r opEquals opEquals opCmp opCmp opCmp opCmp
9be87deaeb52 updated for version 7.0009
vimboss
parents: 7
diff changeset
47 syn keyword dOpOverload opAddAssign opSubAssign opMulAssign opDivAssign
9be87deaeb52 updated for version 7.0009
vimboss
parents: 7
diff changeset
48 syn keyword dOpOverload opModAssign opAndAssign opOrAssign opXorAssign
9be87deaeb52 updated for version 7.0009
vimboss
parents: 7
diff changeset
49 syn keyword dOpOverload opShlAssign opShrAssign opUShrAssign opCatAssign
9be87deaeb52 updated for version 7.0009
vimboss
parents: 7
diff changeset
50 syn keyword dOpOverload opIndex opIndexAssign opCall opSlice
9be87deaeb52 updated for version 7.0009
vimboss
parents: 7
diff changeset
51 syn keyword dOpOverload opAdd_r opMul_r opAnd_r opOr_r opXor_r
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
52 endif
17
9be87deaeb52 updated for version 7.0009
vimboss
parents: 7
diff changeset
53 syn keyword dType ushort int uint long ulong float
9be87deaeb52 updated for version 7.0009
vimboss
parents: 7
diff changeset
54 syn keyword dType void byte ubyte double bit char wchar ucent cent
9be87deaeb52 updated for version 7.0009
vimboss
parents: 7
diff changeset
55 syn keyword dType short bool dchar
9be87deaeb52 updated for version 7.0009
vimboss
parents: 7
diff changeset
56 syn keyword dType real ireal ifloat idouble creal cfloat cdouble
9be87deaeb52 updated for version 7.0009
vimboss
parents: 7
diff changeset
57 syn keyword dDebug deprecated unittest
9be87deaeb52 updated for version 7.0009
vimboss
parents: 7
diff changeset
58 syn keyword dExceptions throw try catch finally
9be87deaeb52 updated for version 7.0009
vimboss
parents: 7
diff changeset
59 syn keyword dScopeDecl public protected private export
9be87deaeb52 updated for version 7.0009
vimboss
parents: 7
diff changeset
60 syn keyword dStatement version debug return with invariant body
9be87deaeb52 updated for version 7.0009
vimboss
parents: 7
diff changeset
61 syn keyword dStatement in out inout asm mixin
9be87deaeb52 updated for version 7.0009
vimboss
parents: 7
diff changeset
62 syn keyword dStatement function delegate
9be87deaeb52 updated for version 7.0009
vimboss
parents: 7
diff changeset
63 syn keyword dStorageClass auto static override final const abstract volatile
9be87deaeb52 updated for version 7.0009
vimboss
parents: 7
diff changeset
64 syn keyword dStorageClass synchronized
9be87deaeb52 updated for version 7.0009
vimboss
parents: 7
diff changeset
65 syn keyword dPragma pragma
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
66
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
67
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
68 " Assert is a statement and a module name.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
69 syn match dAssert "^assert\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
70 syn match dAssert "[^.]\s*\<assert\>"ms=s+1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
71
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
72 " Marks contents of the asm statment body as special
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
73 "
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
74 " TODO
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
75 "syn match dAsmStatement "\<asm\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
76 "syn region dAsmBody start="asm[\n]*\s*{"hs=e+1 end="}"he=e-1 contains=dAsmStatement
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
77 "
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
78 "hi def link dAsmBody dUnicode
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
79 "hi def link dAsmStatement dStatement
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
80
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
81 " Labels
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
82 "
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
83 " We contain dScopeDecl so public: private: etc. are not highlighted like labels
17
9be87deaeb52 updated for version 7.0009
vimboss
parents: 7
diff changeset
84 syn match dUserLabel "^\s*[_$a-zA-Z][_$a-zA-Z0-9_]*\s*:"he=e-1 contains=dLabel,dScopeDecl
9be87deaeb52 updated for version 7.0009
vimboss
parents: 7
diff changeset
85 syn keyword dLabel case default
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
86
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
87 " Comments
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
88 "
17
9be87deaeb52 updated for version 7.0009
vimboss
parents: 7
diff changeset
89 syn keyword dTodo contained TODO FIXME TEMP XXX
9be87deaeb52 updated for version 7.0009
vimboss
parents: 7
diff changeset
90 syn match dCommentStar contained "^\s*\*[^/]"me=e-1
9be87deaeb52 updated for version 7.0009
vimboss
parents: 7
diff changeset
91 syn match dCommentStar contained "^\s*\*$"
9be87deaeb52 updated for version 7.0009
vimboss
parents: 7
diff changeset
92 syn match dCommentPlus contained "^\s*+[^/]"me=e-1
9be87deaeb52 updated for version 7.0009
vimboss
parents: 7
diff changeset
93 syn match dCommentPlus contained "^\s*+$"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
94 if exists("d_comment_strings")
17
9be87deaeb52 updated for version 7.0009
vimboss
parents: 7
diff changeset
95 syn region dBlockCommentString contained start=+"+ end=+"+ end=+\*/+me=s-1,he=s-1 contains=dCommentStar,dUnicode,dEscSequence,@Spell
9be87deaeb52 updated for version 7.0009
vimboss
parents: 7
diff changeset
96 syn region dNestedCommentString contained start=+"+ end=+"+ end="+"me=s-1,he=s-1 contains=dCommentPlus,dUnicode,dEscSequence,@Spell
9be87deaeb52 updated for version 7.0009
vimboss
parents: 7
diff changeset
97 syn region dLineCommentString contained start=+"+ end=+$\|"+ contains=dUnicode,dEscSequence,@Spell
9be87deaeb52 updated for version 7.0009
vimboss
parents: 7
diff changeset
98 syn region dBlockComment start="/\*" end="\*/" contains=dBlockCommentString,dTodo,@Spell
9be87deaeb52 updated for version 7.0009
vimboss
parents: 7
diff changeset
99 syn region dNestedComment start="/+" end="+/" contains=dNestedComment,dNestedCommentString,dTodo,@Spell
9be87deaeb52 updated for version 7.0009
vimboss
parents: 7
diff changeset
100 syn match dLineComment "//.*" contains=dLineCommentString,dTodo,@Spell
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
101 else
17
9be87deaeb52 updated for version 7.0009
vimboss
parents: 7
diff changeset
102 syn region dBlockComment start="/\*" end="\*/" contains=dBlockCommentString,dTodo,@Spell
9be87deaeb52 updated for version 7.0009
vimboss
parents: 7
diff changeset
103 syn region dNestedComment start="/+" end="+/" contains=dNestedComment,dNestedCommentString,dTodo,@Spell
9be87deaeb52 updated for version 7.0009
vimboss
parents: 7
diff changeset
104 syn match dLineComment "//.*" contains=dLineCommentString,dTodo,@Spell
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
105 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
106
17
9be87deaeb52 updated for version 7.0009
vimboss
parents: 7
diff changeset
107 hi link dLineCommentString dBlockCommentString
9be87deaeb52 updated for version 7.0009
vimboss
parents: 7
diff changeset
108 hi link dBlockCommentString dString
9be87deaeb52 updated for version 7.0009
vimboss
parents: 7
diff changeset
109 hi link dNestedCommentString dString
9be87deaeb52 updated for version 7.0009
vimboss
parents: 7
diff changeset
110 hi link dCommentStar dBlockComment
9be87deaeb52 updated for version 7.0009
vimboss
parents: 7
diff changeset
111 hi link dCommentPlus dNestedComment
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
112
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
113 syn sync minlines=25
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
114
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
115 " Characters
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
116 "
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
117 syn match dSpecialCharError contained "[^']"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
118
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
119 " Escape sequences (oct,specal char,hex,wchar). These are not contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
120 " because they are considered string litterals
17
9be87deaeb52 updated for version 7.0009
vimboss
parents: 7
diff changeset
121 syn match dEscSequence "\\\(\o\{1,3}\|[\"\\'\\?ntbrfva]\|u\x\{4}\|U\x\{8}\|x\x\x\)"
9be87deaeb52 updated for version 7.0009
vimboss
parents: 7
diff changeset
122 syn match dCharacter "'[^']*'" contains=dEscSequence,dSpecialCharError
9be87deaeb52 updated for version 7.0009
vimboss
parents: 7
diff changeset
123 syn match dCharacter "'\\''" contains=dEscSequence
9be87deaeb52 updated for version 7.0009
vimboss
parents: 7
diff changeset
124 syn match dCharacter "'[^\\]'"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
125
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
126 " Unicode characters
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
127 "
17
9be87deaeb52 updated for version 7.0009
vimboss
parents: 7
diff changeset
128 syn match dUnicode "\\u\d\{4\}"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
129
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
130 " String.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
131 "
17
9be87deaeb52 updated for version 7.0009
vimboss
parents: 7
diff changeset
132 syn region dString start=+"+ end=+"+ contains=dEscSequence,@Spell
9be87deaeb52 updated for version 7.0009
vimboss
parents: 7
diff changeset
133 syn region dRawString start=+`+ skip=+\\`+ end=+`+ contains=@Spell
9be87deaeb52 updated for version 7.0009
vimboss
parents: 7
diff changeset
134 syn region dRawString start=+r"+ skip=+\\"+ end=+"+ contains=@Spell
9be87deaeb52 updated for version 7.0009
vimboss
parents: 7
diff changeset
135 syn region dHexString start=+x"+ skip=+\\"+ end=+"+
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
136
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
137 " Numbers
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
138 "
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
139 syn case ignore
17
9be87deaeb52 updated for version 7.0009
vimboss
parents: 7
diff changeset
140 syn match dInt display "\<\d[0-9_]*\(u\=l\=\|l\=u\=\)\>"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
141 " Hex number
17
9be87deaeb52 updated for version 7.0009
vimboss
parents: 7
diff changeset
142 syn match dHex display "\<0x[0-9a-f_]\+\(u\=l\=\|l\=u\=\)\>"
9be87deaeb52 updated for version 7.0009
vimboss
parents: 7
diff changeset
143 syn match dHex display "\<\x[0-9a-f_]*h\(u\=l\=\|l\=u\=\)\>"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
144 " Flag the first zero of an octal number as something special
17
9be87deaeb52 updated for version 7.0009
vimboss
parents: 7
diff changeset
145 syn match dOctal display "\<0[0-7_]\+\(u\=l\=\|l\=u\=\)\>" contains=cOctalZero
9be87deaeb52 updated for version 7.0009
vimboss
parents: 7
diff changeset
146 syn match dOctalZero display contained "\<0"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
147
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
148 "floating point without the dot
17
9be87deaeb52 updated for version 7.0009
vimboss
parents: 7
diff changeset
149 syn match dFloat display "\<\d[0-9_]*\(fi\=\|l\=i\)\>"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
150 "floating point number, with dot, optional exponent
17
9be87deaeb52 updated for version 7.0009
vimboss
parents: 7
diff changeset
151 syn match dFloat display "\<\d[0-9_]*\.[0-9_]*\(e[-+]\=[0-9_]\+\)\=[fl]\=i\="
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
152 "floating point number, starting with a dot, optional exponent
17
9be87deaeb52 updated for version 7.0009
vimboss
parents: 7
diff changeset
153 syn match dFloat display "\(\.[0-9_]\+\)\(e[-+]\=[0-9_]\+\)\=[fl]\=i\=\>"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
154 "floating point number, without dot, with exponent
17
9be87deaeb52 updated for version 7.0009
vimboss
parents: 7
diff changeset
155 "syn match dFloat display "\<\d\+e[-+]\=\d\+[fl]\=\>"
9be87deaeb52 updated for version 7.0009
vimboss
parents: 7
diff changeset
156 syn match dFloat display "\<\d[0-9_]*e[-+]\=[0-9_]\+[fl]\=\>"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
157
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
158 "floating point without the dot
17
9be87deaeb52 updated for version 7.0009
vimboss
parents: 7
diff changeset
159 syn match dHexFloat display "\<0x\x\+\(fi\=\|l\=i\)\>"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
160 "floating point number, with dot, optional exponent
17
9be87deaeb52 updated for version 7.0009
vimboss
parents: 7
diff changeset
161 syn match dHexFloat display "\<0x\x\+\.\x*\(p[-+]\=\x\+\)\=[fl]\=i\="
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
162 "floating point number, without dot, with exponent
17
9be87deaeb52 updated for version 7.0009
vimboss
parents: 7
diff changeset
163 syn match dHexFloat display "\<0x\x\+p[-+]\=\x\+[fl]\=\>"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
164
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
165 " binary numbers
17
9be87deaeb52 updated for version 7.0009
vimboss
parents: 7
diff changeset
166 syn match dBinary display "\<0b[01_]\+\>"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
167 " flag an octal number with wrong digits
17
9be87deaeb52 updated for version 7.0009
vimboss
parents: 7
diff changeset
168 syn match dOctalError display "0\o*[89]\d*"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
169 syn case match
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
170
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
171 " Pragma (preprocessor) support
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
172 " TODO: Highlight following Integer and optional Filespec.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
173 syn region dPragma start="#\s*\(line\>\)" skip="\\$" end="$"
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 " The default highlighting.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
177 "
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
178 hi def link dBinary Number
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
179 hi def link dInt Number
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
180 hi def link dHex Number
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
181 hi def link dOctal Number
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
182 hi def link dFloat Float
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
183 hi def link dHexFloat Float
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
184 hi def link dDebug Debug
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
185 hi def link dBranch Conditional
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
186 hi def link dConditional Conditional
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
187 hi def link dLabel Label
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
188 hi def link dUserLabel Label
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
189 hi def link dRepeat Repeat
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
190 hi def link dExceptions Exception
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
191 hi def link dAssert Statement
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
192 hi def link dStatement Statement
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
193 hi def link dScopeDecl dStorageClass
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
194 hi def link dStorageClass StorageClass
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
195 hi def link dBoolean Boolean
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
196 hi def link dUnicode Special
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
197 hi def link dRawString String
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
198 hi def link dString String
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
199 hi def link dHexString String
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
200 hi def link dCharacter Character
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
201 hi def link dEscSequence SpecialChar
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
202 hi def link dSpecialCharError Error
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
203 hi def link dOctalError Error
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
204 hi def link dOperator Operator
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
205 hi def link dOpOverload Operator
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
206 hi def link dConstant Constant
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
207 hi def link dTypedef Typedef
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
208 hi def link dStructure Structure
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
209 hi def link dTodo Todo
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
210 hi def link dType Type
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
211 hi def link dLineComment Comment
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
212 hi def link dBlockComment Comment
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
213 hi def link dNestedComment Comment
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
214 hi def link dExternal Include
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
215 hi def link dPragma PreProc
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
216
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
217 let b:current_syntax = "d"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
218
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
219 " vim: ts=8