about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2014-04-19 02:11:30 -0700
committerbors <bors@rust-lang.org>2014-04-19 02:11:30 -0700
commitc7553ea17359cad2c8d30855380f78026127f7b7 (patch)
tree3d6e340c72a43a9c14571556b34b8cb1cf86a1f6
parent158e0c86fe6c4db2d1dde8da156ce58aaf319dc4 (diff)
parent3ec9f05534993635b7562381331713cfa1184900 (diff)
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.
-rw-r--r--src/etc/vim/syntax/rust.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/etc/vim/syntax/rust.vim b/src/etc/vim/syntax/rust.vim
index dd631b19322..f937fd8caa6 100644
--- a/src/etc/vim/syntax/rust.vim
+++ b/src/etc/vim/syntax/rust.vim
@@ -85,7 +85,7 @@ syn keyword rustTrait Primitive Int Float ToPrimitive FromPrimitive
 syn keyword rustTrait GenericPath Path PosixPath WindowsPath
 syn keyword rustTrait RawPtr
 syn keyword rustTrait Buffer Writer Reader Seek
-syn keyword rustTrait Str StrVector StrSlice OwnedStr IntoMaybeOwned
+syn keyword rustTrait Str StrVector StrSlice OwnedStr IntoMaybeOwned StrBuf
 syn keyword rustTrait ToStr IntoStr
 syn keyword rustTrait Tuple1 Tuple2 Tuple3 Tuple4
 syn keyword rustTrait Tuple5 Tuple6 Tuple7 Tuple8