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/normal.c | |
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/normal.c')
-rw-r--r-- | src/nvim/normal.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nvim/normal.c b/src/nvim/normal.c index bdd6a2a266..b505c349ae 100644 --- a/src/nvim/normal.c +++ b/src/nvim/normal.c @@ -730,7 +730,7 @@ getcount: } if (text_locked() && (nv_cmds[idx].cmd_flags & NV_NCW)) { - /* This command is not allowed while editing a ccmdline: beep. */ + // This command is not allowed while editing a cmdline: beep. clearopbeep(oap); text_locked_msg(); goto normal_end; @@ -1622,7 +1622,7 @@ void do_pending_operator(cmdarg_T *cap, int old_col, int gui_yank) curbuf->b_ml.ml_line_count) beep_flush(); else { - (void)do_join(oap->line_count, oap->op_type == OP_JOIN, TRUE, TRUE); + do_join(oap->line_count, oap->op_type == OP_JOIN, TRUE, TRUE, true); auto_format(FALSE, TRUE); } break; @@ -7326,7 +7326,7 @@ static void nv_join(cmdarg_T *cap) else { prep_redo(cap->oap->regname, cap->count0, NUL, cap->cmdchar, NUL, NUL, cap->nchar); - (void)do_join(cap->count0, cap->nchar == NUL, TRUE, TRUE); + do_join(cap->count0, cap->nchar == NUL, TRUE, TRUE, true); } } } |