浏览代码

Prepend [vim-plug] to error messages

Junegunn Choi 10 年之前
父节点
当前提交
0c710f75f4
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      plug.vim

+ 1 - 1
plug.vim

@@ -297,7 +297,7 @@ endif
 
 function! s:err(msg)
   echohl ErrorMsg
-  echom a:msg
+  echom '[vim-plug] '.a:msg
   echohl None
   return 0
 endfunction