We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a66f068 commit f9df32aCopy full SHA for f9df32a
src/etc/vim/syntax/rust.vim
@@ -46,7 +46,7 @@ syn match rustFloat display contained "\d\+e[-+]\=\d\+[fl]\=\>"
46
syn match rustCharacter "'[^']*'"
47
48
syn case match
49
-syn region rustComment start="/\*" end="\*/"
+syn region rustComment start="/\*" end="\*/" contains=rustComment
50
syn region rustComment start="//" skip="\\$" end="$" keepend
51
52
hi def link rustString String
@@ -59,5 +59,7 @@ hi def link rustComment Comment
59
hi def link rustMacro Macro
60
hi def link rustType Type
61
62
-let b:current_syntax = "rust"
+syn sync minlines=200
63
+syn sync maxlines=500
64
65
+let b:current_syntax = "rust"
0 commit comments