Improve highlight for callback status msg

This commit is contained in:
Karl Yngve Lervåg 2015-03-03 21:32:40 +01:00
parent b3b55833fe
commit d9be80a86e

View File

@ -79,12 +79,14 @@ function! latex#latexmk#callback(status) " {{{1
call latex#latexmk#errors(0)
redraw!
echohl ModeMsg
echon "latexmk compile: "
if a:status
echohl Statement
echo "latexmk compile: success"
echon "success"
else
echohl Error
echo "latexmk compile: fail"
echohl WarningMsg
echon "fail"
endif
echohl None