aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ops.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2018-08-06 19:16:42 +0200
committerGitHub <noreply@github.com>2018-08-06 19:16:42 +0200
commit1593ee7cf21f77168531c959fa9e73933b502d2e (patch)
tree2c2991996429def33fc192009cc408f809c6e687 /src/nvim/ops.c
parent3aca372ac88b4864c2da00780c01f207bdc58435 (diff)
parent41dbb69a85302e9af5c8b76e0d8217ad7d197f8a (diff)
downloadrneovim-1593ee7cf21f77168531c959fa9e73933b502d2e.tar.gz
rneovim-1593ee7cf21f77168531c959fa9e73933b502d2e.tar.bz2
rneovim-1593ee7cf21f77168531c959fa9e73933b502d2e.zip
Merge #8820 from janlazo/vim-8.0.0671
Diffstat (limited to 'src/nvim/ops.c')
-rw-r--r--src/nvim/ops.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/nvim/ops.c b/src/nvim/ops.c
index ba4f3cb431..4fb1a1ea9d 100644
--- a/src/nvim/ops.c
+++ b/src/nvim/ops.c
@@ -1473,9 +1473,9 @@ int op_delete(oparg_T *oap)
}
if (u_save_cursor() == FAIL)
return FAIL;
- if (curbuf->b_p_ai) { /* don't delete indent */
- beginline(BL_WHITE); /* cursor on first non-white */
- did_ai = TRUE; /* delete the indent when ESC hit */
+ if (curbuf->b_p_ai) { // don't delete indent
+ beginline(BL_WHITE); // cursor on first non-white
+ did_ai = true; // delete the indent when ESC hit
ai_col = curwin->w_cursor.col;
} else
beginline(0); /* cursor in column 0 */
@@ -2178,7 +2178,7 @@ int op_change(oparg_T *oap)
if (!p_paste && curbuf->b_p_si
&& !curbuf->b_p_cin
)
- can_si = TRUE; /* It's like opening a new line, do si */
+ can_si = true; // It's like opening a new line, do si
}
/* First delete the text in the region. In an empty buffer only need to