diff options
author | Charles Joachim <cacplate@gmail.com> | 2016-05-30 12:16:48 -0400 |
---|---|---|
committer | Charles Joachim <cacplate@gmail.com> | 2016-05-30 12:16:48 -0400 |
commit | c4da27095ccce52f9e2e7e0d80b5c1475c1fd66d (patch) | |
tree | 8a5089fa52f69403042103724f59ab28bc8be0f9 /src/nvim/normal.c | |
parent | c2a18216114bae75b6d6a2c7f1a68db04578abce (diff) | |
download | rneovim-c4da27095ccce52f9e2e7e0d80b5c1475c1fd66d.tar.gz rneovim-c4da27095ccce52f9e2e7e0d80b5c1475c1fd66d.tar.bz2 rneovim-c4da27095ccce52f9e2e7e0d80b5c1475c1fd66d.zip |
remove some asserts and lint
Diffstat (limited to 'src/nvim/normal.c')
-rw-r--r-- | src/nvim/normal.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/normal.c b/src/nvim/normal.c index 573129de25..6baf95739d 100644 --- a/src/nvim/normal.c +++ b/src/nvim/normal.c @@ -1795,9 +1795,9 @@ void do_pending_operator(cmdarg_T *cap, int old_col, bool gui_yank) if (oap->line_count < 2) oap->line_count = 2; if (curwin->w_cursor.lnum + oap->line_count - 1 > - curbuf->b_ml.ml_line_count) + curbuf->b_ml.ml_line_count) { beep_flush(); - else { + } else { do_join((size_t)oap->line_count, oap->op_type == OP_JOIN, true, true, true); auto_format(false, true); |