summaryrefslogtreecommitdiffstats
path: root/indent/swift.vim
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--indent/swift.vim8
1 files changed, 4 insertions, 4 deletions
diff --git a/indent/swift.vim b/indent/swift.vim
index 14e851ee..f4448806 100644
--- a/indent/swift.vim
+++ b/indent/swift.vim
@@ -1,5 +1,7 @@
-if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'swift') == -1
-
+if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'swift') != -1
+ finish
+endif
+
" File: swift.vim
" Author: Keith Smiley
" Description: The indent file for Swift
@@ -294,5 +296,3 @@ endfunction
let &cpo = s:cpo_save
unlet s:cpo_save
-
-endif