Skip to content

Commit c7553ea

Browse files
committed
auto merge of #13609 : richo/rust/str-type-vim, r=alexcrichton
It seems really weird to me when StrSlice and str highlight sanely, but StrBuf doesn't. I think I added it to the right place.
2 parents 158e0c8 + 3ec9f05 commit c7553ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/etc/vim/syntax/rust.vim

+1-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ syn keyword rustTrait Primitive Int Float ToPrimitive FromPrimitive
8585
syn keyword rustTrait GenericPath Path PosixPath WindowsPath
8686
syn keyword rustTrait RawPtr
8787
syn keyword rustTrait Buffer Writer Reader Seek
88-
syn keyword rustTrait Str StrVector StrSlice OwnedStr IntoMaybeOwned
88+
syn keyword rustTrait Str StrVector StrSlice OwnedStr IntoMaybeOwned StrBuf
8989
syn keyword rustTrait ToStr IntoStr
9090
syn keyword rustTrait Tuple1 Tuple2 Tuple3 Tuple4
9191
syn keyword rustTrait Tuple5 Tuple6 Tuple7 Tuple8

0 commit comments

Comments
 (0)