mirror of
https://github.com/preservim/nerdcommenter.git
synced 2025-02-21 04:34:55 +08:00
use echom instead of echo so the user can check :messages
This commit is contained in:
parent
930be32a23
commit
ecf20b005c
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user