summaryrefslogtreecommitdiffstats
path: root/ftplugin/pony.vim
diff options
context:
space:
mode:
Diffstat (limited to 'ftplugin/pony.vim')
-rw-r--r--ftplugin/pony.vim8
1 files changed, 4 insertions, 4 deletions
diff --git a/ftplugin/pony.vim b/ftplugin/pony.vim
index eef6824e..c168cb97 100644
--- a/ftplugin/pony.vim
+++ b/ftplugin/pony.vim
@@ -1,5 +1,7 @@
-if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'pony') == -1
-
+if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'pony') != -1
+ finish
+endif
+
" Vim filetype plugin file
" Language: Pony
" Maintainer: Jak Wings
@@ -40,5 +42,3 @@ let &cpo = s:cpo_save
unlet s:cpo_save
let b:did_ftplugin = 1
-
-endif