use echom instead of echo so the user can check :messages

This commit is contained in:
marty 2010-11-30 10:20:51 +13:00
parent 930be32a23
commit ecf20b005c

View File

@ -2400,10 +2400,10 @@ endfunction
function s:NerdEcho(msg, typeOfMsg)
if a:typeOfMsg == 0
echohl WarningMsg
echo 'NERDCommenter:' . a:msg
echom 'NERDCommenter:' . a:msg
echohl None
elseif a:typeOfMsg == 1
echo 'NERDCommenter:' . a:msg
echom 'NERDCommenter:' . a:msg
endif
endfunction