aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ops.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2019-07-29 02:36:46 +0200
committerGitHub <noreply@github.com>2019-07-29 02:36:46 +0200
commitcaa8c06bae0ff351edb22d566a92a4b1009f191d (patch)
tree69052a0f25d5b6e9207dacbec2da568866cac92d /src/nvim/ops.c
parent505f47403ba6a95179ae854c80db07ae77d70947 (diff)
downloadrneovim-caa8c06bae0ff351edb22d566a92a4b1009f191d.tar.gz
rneovim-caa8c06bae0ff351edb22d566a92a4b1009f191d.tar.bz2
rneovim-caa8c06bae0ff351edb22d566a92a4b1009f191d.zip
vim-patch:8.1.1138: add CompleteChanged #10644
(This was originally a Neovim patch, but this commit merges some changes from the Vim patch.) https://github.com/vim/vim/commit/d7f246c68cfb97406bcd4b098a2df2d870b3ef92
Diffstat (limited to 'src/nvim/ops.c')
-rw-r--r--src/nvim/ops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/ops.c b/src/nvim/ops.c
index 28635a4383..6709e52679 100644
--- a/src/nvim/ops.c
+++ b/src/nvim/ops.c
@@ -1402,7 +1402,7 @@ int op_delete(oparg_T *oap)
yankreg_T *reg = NULL;
int did_yank = false;
if (oap->regname != 0) {
- //yank without message
+ // yank without message
did_yank = op_yank(oap, false, true);
if (!did_yank) {
// op_yank failed, don't do anything
@@ -3447,7 +3447,7 @@ void ex_display(exarg_T *eap)
MSG_PUTS_ATTR("^J", attr);
n -= 2;
}
- for (p = yb->y_array[j]; *p && (n -= ptr2cells(p)) >= 0; p++) { // -V1019
+ for (p = yb->y_array[j]; *p && (n -= ptr2cells(p)) >= 0; p++) { // -V1019 NOLINT(whitespace/line_length)
clen = (*mb_ptr2len)(p);
msg_outtrans_len(p, clen);
p += clen - 1;