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
This commit is contained in:
oni-link
2014-05-22 14:37:27 +02:00
committed by Justin M. Keyes
parent 1b43e5c47e
commit 753401ab4c
10 changed files with 72 additions and 29 deletions

View File

@@ -6804,7 +6804,7 @@ static void ex_join(exarg_T *eap)
}
++eap->line2;
}
(void)do_join(eap->line2 - eap->line1 + 1, !eap->forceit, TRUE, TRUE);
do_join(eap->line2 - eap->line1 + 1, !eap->forceit, TRUE, TRUE, true);
beginline(BL_WHITE | BL_FIX);
ex_may_print(eap);
}