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