mirror of
https://github.com/leafOfTree/vim-vue-plugin.git
synced 2025-12-07 21:24:50 +08:00
10 lines
217 B
VimL
10 lines
217 B
VimL
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
|