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