From e0088ef80b541b1cd2f99bd03765853f2df7ed44 Mon Sep 17 00:00:00 2001 From: Chris Morgan Date: Thu, 27 Feb 2014 16:45:48 +1100 Subject: [PATCH] Highlight the `mod` in `extern mod x;` as Error. Just like the bare keyword `crate` is highlighted as Error (a little dubious, actually, given macros), `mod` is invalid after `extern`: it's obsolete syntax. --- src/etc/vim/syntax/rust.vim | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/etc/vim/syntax/rust.vim b/src/etc/vim/syntax/rust.vim index 837a87879b02..34d9b534c5c8 100644 --- a/src/etc/vim/syntax/rust.vim +++ b/src/etc/vim/syntax/rust.vim @@ -19,7 +19,7 @@ syn keyword rustOperator as syn match rustAssert "\