From 623bb16ada239b24ea7f0ef471f18daaee62b281 Mon Sep 17 00:00:00 2001 From: yemai Date: Fri, 17 May 2019 17:51:58 +0800 Subject: [PATCH] feat: clean code --- indent/vue.vim | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/indent/vue.vim b/indent/vue.vim index dcfe149..017545d 100644 --- a/indent/vue.vim +++ b/indent/vue.vim @@ -15,14 +15,14 @@ se sw=2 ts=2 let s:name = 'vim-vue-plugin' -let s:debug = exists("g:vim_vue_plugin_use_pug") +let s:debug = exists("g:vim_vue_plugin_debug") \ && g:vim_vue_plugin_debug == 1 let s:use_pug = exists("g:vim_vue_plugin_use_pug") \ && g:vim_vue_plugin_use_pug == 1 let s:use_sass = exists("g:vim_vue_plugin_use_sass") \ && g:vim_vue_plugin_use_sass == 1 let s:has_init_indent = exists("g:vim_vue_plugin_has_init_indent") - \ && g:vim_vue_plugin_has_init_indent == 1 + \ && g:vim_vue_plugin_has_init_indent == 1 " Let