diff --git a/src/etc/vim/syntax/rust.vim b/src/etc/vim/syntax/rust.vim index 7c339ed0856cd..0270d633449c3 100644 --- a/src/etc/vim/syntax/rust.vim +++ b/src/etc/vim/syntax/rust.vim @@ -3,15 +3,10 @@ " Maintainer: Patrick Walton " Last Change: 2010 Oct 13 -" Quit when a syntax file was already loaded -if !exists("main_syntax") - if version < 600 - syntax clear - elseif exists("b:current_syntax") - finish - endif - " we define it here so that included files can test for it - let main_syntax='rust' +if version < 600 + syntax clear +elseif exists("b:current_syntax") + finish endif syn keyword rustKeyword alt as assert break