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/ops.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/nvim/ops.h') diff --git a/src/nvim/ops.h b/src/nvim/ops.h index 83175eb89d..12dd8351d5 100644 --- a/src/nvim/ops.h +++ b/src/nvim/ops.h @@ -40,8 +40,11 @@ void adjust_cursor_eol(void); int preprocs_left(void); int get_register_name(int num); void ex_display(exarg_T *eap); -int do_join(long count, int insert_space, int save_undo, - int use_formatoptions); +int do_join(long count, + int insert_space, + int save_undo, + int use_formatoptions, + bool setmark); void op_format(oparg_T *oap, int keep_cursor); void op_formatexpr(oparg_T *oap); int fex_format(linenr_T lnum, long count, int c); -- cgit