From d9be80a86e08c2eebba318624a87ec76c20f45fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karl=20Yngve=20Lerv=C3=A5g?= Date: Tue, 3 Mar 2015 21:32:40 +0100 Subject: [PATCH] Improve highlight for callback status msg --- autoload/latex/latexmk.vim | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/autoload/latex/latexmk.vim b/autoload/latex/latexmk.vim index 87f4c07..6e6e6f3 100644 --- a/autoload/latex/latexmk.vim +++ b/autoload/latex/latexmk.vim @@ -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