diff options
author | oni-link <knil.ino@gmail.com> | 2014-05-22 14:37:27 +0200 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2014-05-27 16:51:10 -0400 |
commit | 753401ab4cea8fc81731403fe587558e36e7388f (patch) | |
tree | bcf0f4d7be21ac0055aa1c091e96caca44046d6e /src/nvim/ops.h | |
parent | 1b43e5c47e3887696d53573fba7fce6221888794 (diff) | |
download | rneovim-753401ab4cea8fc81731403fe587558e36e7388f.tar.gz rneovim-753401ab4cea8fc81731403fe587558e36e7388f.tar.bz2 rneovim-753401ab4cea8fc81731403fe587558e36e7388f.zip |
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
Diffstat (limited to 'src/nvim/ops.h')
-rw-r--r-- | src/nvim/ops.h | 7 |
1 files changed, 5 insertions, 2 deletions
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); |