summaryrefslogtreecommitdiffstats
path: root/syntax/pony.vim
diff options
context:
space:
mode:
Diffstat (limited to 'syntax/pony.vim')
-rw-r--r--syntax/pony.vim8
1 files changed, 4 insertions, 4 deletions
diff --git a/syntax/pony.vim b/syntax/pony.vim
index 56899f8f..8035ca08 100644
--- a/syntax/pony.vim
+++ b/syntax/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 syntax file
" Language: Pony
" Maintainer: Jak Wings
@@ -227,5 +229,3 @@ let &cpo = s:cpo_save
unlet s:cpo_save
let b:current_syntax = 'pony'
-
-endif