Skip to content

Commit 0cac3a8

Browse files
committed
Avoid "Hit enter to continue" prompt if cmdheight is default
Why: It's annoying and unnecessary. Closes #13. Credit to @jmandawg for the patch.
1 parent 3cffeb3 commit 0cac3a8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

plugin/diffconflicts.vim

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,9 @@ endfunction
9494

9595
function! s:checkThenDiff()
9696
if (s:hasConflicts())
97+
redraw
9798
echohl WarningMsg
98-
\ | echo "Resolve conflicts leftward then save. Use :cq to abort."
99+
\ | echon "Resolve conflicts leftward then save. Use :cq to abort."
99100
\ | echohl None
100101
return s:diffconfl()
101102
else

0 commit comments

Comments
 (0)