summaryrefslogtreecommitdiffstats
path: root/indent/velocity.vim
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--indent/velocity.vim6
1 files changed, 2 insertions, 4 deletions
diff --git a/indent/velocity.vim b/indent/velocity.vim
index 6ac23863..2f6fe153 100644
--- a/indent/velocity.vim
+++ b/indent/velocity.vim
@@ -1,9 +1,7 @@
-if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'vm') != -1
- finish
-endif
-
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'vm') == -1
if exists("b:did_indent")
finish
endif
runtime! indent/html.vim
+endif