Skip to content

Commit d2498f7

Browse files
committed
---
yaml --- r: 6838 b: refs/heads/master c: f9df32a h: refs/heads/master v: v3
1 parent fb61056 commit d2498f7

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,2 +1,2 @@
11
---
2-
refs/heads/master: a66f0688fd36fb3a10fb18b530d032c0524c69af
2+
refs/heads/master: f9df32adac8568cf021f6645c41d6d9a20824b63

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ syn match rustFloat display contained "\d\+e[-+]\=\d\+[fl]\=\>"
4646
syn match rustCharacter "'[^']*'"
4747

4848
syn case match
49-
syn region rustComment start="/\*" end="\*/"
49+
syn region rustComment start="/\*" end="\*/" contains=rustComment
5050
syn region rustComment start="//" skip="\\$" end="$" keepend
5151

5252
hi def link rustString String
@@ -59,5 +59,7 @@ hi def link rustComment Comment
5959
hi def link rustMacro Macro
6060
hi def link rustType Type
6161

62-
let b:current_syntax = "rust"
62+
syn sync minlines=200
63+
syn sync maxlines=500
6364

65+
let b:current_syntax = "rust"

0 commit comments

Comments
 (0)