From 41dbb69a85302e9af5c8b76e0d8217ad7d197f8a Mon Sep 17 00:00:00 2001 From: Jan Edmund Lazo Date: Sun, 5 Aug 2018 18:02:24 -0400 Subject: lint --- src/nvim/ops.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/nvim/ops.c') diff --git a/src/nvim/ops.c b/src/nvim/ops.c index 2a83b7a4fc..4fb1a1ea9d 100644 --- a/src/nvim/ops.c +++ b/src/nvim/ops.c @@ -1473,8 +1473,8 @@ 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 */ + 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 -- cgit