File tree Expand file tree Collapse file tree 3 files changed +152
-190
lines changed Expand file tree Collapse file tree 3 files changed +152
-190
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,6 @@ refs/heads/try3: 9387340aab40a73e8424c48fd42f0c521a4875c0
14
14
refs/tags/release-0.3.1: 495bae036dfe5ec6ceafd3312b4dca48741e845b
15
15
refs/tags/release-0.4: e828ea2080499553b97dfe33b3f4d472b4562ad7
16
16
refs/tags/release-0.5: 7e3bcfbf21278251ee936ad53e92e9b719702d73
17
- refs/heads/auto: 5641777318239926363207f690bf265f7514a63c
17
+ refs/heads/auto: fc26911b493eb151710e1a96578aad55596cfeb7
18
18
refs/heads/servo: af82457af293e2a842ba6b7759b70288da276167
19
19
refs/tags/release-0.6: b4ebcfa1812664df5e142f0134a5faea3918544c
Original file line number Diff line number Diff line change @@ -110,8 +110,11 @@ syn match rustFloat display "\<[0-9][0-9_]*\.[0-9_]\+\%([eE][+-]\=[0-9
110
110
syn match rustLifetime display " \'\% ([^[:cntrl:][:space:][:punct:][:digit:]]\| _\)\% ([^[:cntrl:][:punct:][:space:]]\| _\) *"
111
111
syn match rustCharacter " '\( [^'\\ ]\|\\\( ['nrt\\\" ]\| x\x\{ 2}\| u\x\{ 4}\| U\x\{ 8}\)\) '"
112
112
113
- syn region rustComment start =" /\* " end =" \* /" contains =rustComment,rustTodo
114
- syn region rustComment start =" //" skip =" \\ $" end =" $" contains =rustTodo keepend
113
+ syn region rustCommentDoc start =" /\*\* " end =" \* /"
114
+ syn region rustCommentDoc start =" ///" skip =" \\ $" end =" $" keepend
115
+ syn match rustComment " /\*\* /"
116
+ syn region rustComment start =" /\*\( [^\* ]\| $\) " end =" \* /" contains =rustTodo
117
+ syn region rustComment start =" //\( [^/]\| $\) " skip =" \\ $" end =" $" contains =rustTodo keepend
115
118
116
119
syn keyword rustTodo contained TODO FIXME XXX NB
117
120
@@ -134,6 +137,7 @@ hi def link rustConditional Conditional
134
137
hi def link rustIdentifier Identifier
135
138
hi def link rustModPath Include
136
139
hi def link rustFuncName Function
140
+ hi def link rustCommentDoc SpecialComment
137
141
hi def link rustComment Comment
138
142
hi def link rustMacro Macro
139
143
hi def link rustType Type
You can’t perform that action at this time.
0 commit comments