mergetools: refine vimdiff warning message
authorKevin Bullock <kbullock@ringworld.org>
Fri, 15 Feb 2013 15:06:43 -0600
changeset 18695 ec9b9968b7f8
parent 18694 6a012704c841
child 18696 d23f61b6617f
child 18700 4a85ebb5c807
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.
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