summaryrefslogtreecommitdiffstats
path: root/indent/rust.vim
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--indent/rust.vim6
1 files changed, 2 insertions, 4 deletions
diff --git a/indent/rust.vim b/indent/rust.vim
index 68178070..a744008f 100644
--- a/indent/rust.vim
+++ b/indent/rust.vim
@@ -1,7 +1,4 @@
-if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'rust') != -1
- finish
-endif
-
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'rust') == -1
" Vim indent file
" Language: Rust
" Author: Chris Morgan <me@chrismorgan.info>
@@ -281,3 +278,4 @@ unlet s:save_cpo
" vint: +ProhibitAbbreviationOption
" vim: set et sw=4 sts=4 ts=8:
+endif