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