diff --git a/autoload/vue.vim b/autoload/vue.vim new file mode 100644 index 0000000..9ecbae0 --- /dev/null +++ b/autoload/vue.vim @@ -0,0 +1,9 @@ +let s:name = 'vim-vue-plugin' +let s:debug = exists("g:vim_vue_plugin_debug") + \ && g:vim_vue_plugin_debug == 1 + +function! vue#Log(msg) + if s:debug + echom '['.s:name.']['.v:lnum.'] '.a:msg + endif +endfunction diff --git a/indent/vue.vim b/indent/vue.vim index 42d3c76..6158a2a 100644 --- a/indent/vue.vim +++ b/indent/vue.vim @@ -16,7 +16,6 @@ endif " Variables {{{ " """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" -let s:name = 'vim-vue-plugin' " Let