diff --git a/src/etc/vim/syntax/rust.vim b/src/etc/vim/syntax/rust.vim index 86530c0faa6..ee65c77f9f3 100644 --- a/src/etc/vim/syntax/rust.vim +++ b/src/etc/vim/syntax/rust.vim @@ -17,8 +17,7 @@ syn keyword rustKeyword for if impl let log syn keyword rustKeyword loop match mod move mut once priv pure syn match rustKeyword "\" syn keyword rustKeyword ref return static -syn match rustKeyword "\" " Allows also matching unsafe::foo() -syn keyword rustKeyword use while +syn keyword rustKeyword unsafe use while " FIXME: Scoped impl's name is also fallen in this category syn keyword rustKeyword mod trait struct enum type nextgroup=rustIdentifier skipwhite syn keyword rustKeyword fn nextgroup=rustFuncName skipwhite