# HG changeset patch # User Kevin Bullock # Date 1360962403 21600 # Node ID 7d66a44e87ede62a076000fb1099498155a64d71 # Parent f2b1f78cf202387486816a69431c23eeddc66e51 mergetools: refine vimdiff warning message We explicitly redraw before echoing the message so that it simply displays at the bottom of the window. Also simplifies the message printing by using 'echomsg' (which uses 'echohl' internally) and adds the names of the software involved for improved Googleability. diff -r f2b1f78cf202 -r 7d66a44e87ed contrib/mergetools.hgrc --- a/contrib/mergetools.hgrc Fri Feb 15 11:28:04 2013 +0100 +++ b/contrib/mergetools.hgrc Fri Feb 15 15:06:43 2013 -0600 @@ -15,7 +15,7 @@ gvimdiff.regname=path gvimdiff.priority=-9 -vimdiff.args=$local $other $base -c 'echohl WarningMsg | echo "merge conflict detected, type \":cq\" to abort" | echohl' +vimdiff.args=$local $other $base -c 'redraw | echomsg "hg merge conflict, type \":cq\" to abort vimdiff"' vimdiff.check=changed vimdiff.priority=-10