summaryrefslogtreecommitdiffstats
path: root/syntax/velocity.vim
diff options
context:
space:
mode:
Diffstat (limited to 'syntax/velocity.vim')
-rw-r--r--syntax/velocity.vim8
1 files changed, 4 insertions, 4 deletions
diff --git a/syntax/velocity.vim b/syntax/velocity.vim
index 01fff656..44f78250 100644
--- a/syntax/velocity.vim
+++ b/syntax/velocity.vim
@@ -1,5 +1,7 @@
-if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'vm') == -1
-
+if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'vm') != -1
+ finish
+endif
+
" Vim syntax file
" Language: Velocity HTML template
" Maintainer: Hsiaoming Young <http://lepture.com>
@@ -67,5 +69,3 @@ if version >= 508 || !exists("did_velocity_syn_inits")
endif
let b:current_syntax = "velocity"
-
-endif