summaryrefslogtreecommitdiffstats
path: root/syntax/swift.vim
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--syntax/swift.vim4
1 files changed, 4 insertions, 0 deletions
diff --git a/syntax/swift.vim b/syntax/swift.vim
index e3c3dd07..cbe46d35 100644
--- a/syntax/swift.vim
+++ b/syntax/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
@@ -62,3 +64,5 @@ highlight default link swiftTypeIdentifier Type
if !exists('b:current_syntax')
let b:current_syntax = 'swift'
endif
+
+endif