summaryrefslogtreecommitdiffstats
path: root/ftplugin/vue.vim
diff options
context:
space:
mode:
Diffstat (limited to 'ftplugin/vue.vim')
-rw-r--r--ftplugin/vue.vim8
1 files changed, 4 insertions, 4 deletions
diff --git a/ftplugin/vue.vim b/ftplugin/vue.vim
index 194bf6fe..8aded135 100644
--- a/ftplugin/vue.vim
+++ b/ftplugin/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 filetype plugin
" Language: Vue.js
" Maintainer: Eduardo San Martin Morote
@@ -19,5 +21,3 @@ if !exists('g:no_plugin_maps') && !exists('g:no_vue_maps')
nnoremap <silent> <buffer> [] :call search('^</\(template\<Bar>script\<Bar>style\)', 'bW')<CR>
nnoremap <silent> <buffer> ][ :call search('^</\(template\<Bar>script\<Bar>style\)', 'W')<CR>
endif
-
-endif