summaryrefslogtreecommitdiffstats
path: root/indent/swift.vim
diff options
context:
space:
mode:
Diffstat (limited to 'indent/swift.vim')
-rw-r--r--indent/swift.vim4
1 files changed, 4 insertions, 0 deletions
diff --git a/indent/swift.vim b/indent/swift.vim
index 8f0de62c..472b3cf7 100644
--- a/indent/swift.vim
+++ b/indent/swift.vim
@@ -1,3 +1,5 @@
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'swift') == -1
+
" Language: Swift<https://developer.apple.com/swift/>
" Maintainer: toyama satoshi <toyamarinyon@gmail.com>
" URL: http://github.com/toyamarinyon/vim-swift
@@ -13,3 +15,5 @@ let b:did_indent = 1
setlocal cindent
let b:undo_indent = "setl cin<"
+
+endif