summaryrefslogtreecommitdiffstats
path: root/indent/vue.vim
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--indent/vue.vim6
1 files changed, 2 insertions, 4 deletions
diff --git a/indent/vue.vim b/indent/vue.vim
index 2acc65ac..a07f28ab 100644
--- a/indent/vue.vim
+++ b/indent/vue.vim
@@ -1,7 +1,4 @@
-if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'vue') != -1
- finish
-endif
-
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'vue') == -1
" Vim indent file
" Language: Vue.js
" Maintainer: Eduardo San Martin Morote
@@ -66,3 +63,4 @@ function! GetVueIndent()
return indent
endfunction
+endif