Skip to content

Commit d75f8fb

Browse files
committed
---
yaml --- r: 12716 b: refs/heads/master c: 94b0edc h: refs/heads/master v: v3
1 parent 78f1272 commit d75f8fb

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 55de232426b3861d1cc2385888a6104063318dce
2+
refs/heads/master: 94b0edc606112ddc71283bdcb5cb826dcbc3d167
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 4a81779abd786ff22d71434c6d9a5917ea4cdfff
55
refs/heads/try: 2898dcc5d97da9427ac367542382b6239d9c0bbf

trunk/src/etc/vim/syntax/rust.vim

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,10 @@ syn case match
5656

5757
syn match rustCharacter "'\([^'\\]\|\\\(['nrt\\\"]\|x\x\{2}\|u\x\{4}\|U\x\{8}\)\)'"
5858

59-
syn region rustComment start="/\*" end="\*/" contains=rustComment
60-
syn region rustComment start="//" skip="\\$" end="$" keepend
59+
syn region rustComment start="/\*" end="\*/" contains=rustComment,rustTodo
60+
syn region rustComment start="//" skip="\\$" end="$" contains=rustTodo keepend
61+
62+
syn keyword rustTodo TODO FIXME XXX NB
6163

6264
hi def link rustString String
6365
hi def link rustCharacter Character

0 commit comments

Comments
 (0)