From 753401ab4cea8fc81731403fe587558e36e7388f Mon Sep 17 00:00:00 2001 From: oni-link Date: Thu, 22 May 2014 14:37:27 +0200 Subject: vim-patch:7.4.267 Problem: The '[ mark is in the wrong position after "gq". (Ingo Karkat) Solution: Add the setmark argument to do_join(). (Christian Brabandt) https://code.google.com/p/vim/source/detail?r=75f222d67cea335efbe0274de6340dba174c1e7e --- src/nvim/ex_cmds.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/nvim/ex_cmds.c') diff --git a/src/nvim/ex_cmds.c b/src/nvim/ex_cmds.c index fa17986028..6c297f399b 100644 --- a/src/nvim/ex_cmds.c +++ b/src/nvim/ex_cmds.c @@ -3588,7 +3588,7 @@ void do_sub(exarg_T *eap) eap->flags = EXFLAG_PRINT; } - do_join(eap->line2 - eap->line1 + 1, FALSE, TRUE, FALSE); + do_join(eap->line2 - eap->line1 + 1, FALSE, TRUE, FALSE, true); sub_nlines = sub_nsubs = eap->line2 - eap->line1 + 1; do_sub_msg(FALSE); ex_may_print(eap); -- cgit