diff options
author | Jan Edmund Lazo <janedmundlazo@hotmail.com> | 2018-08-05 18:02:24 -0400 |
---|---|---|
committer | Jan Edmund Lazo <janedmundlazo@hotmail.com> | 2018-08-06 11:49:59 -0400 |
commit | 41dbb69a85302e9af5c8b76e0d8217ad7d197f8a (patch) | |
tree | 4c5e39b95785f2f6dca422a7ceb0ac9dc442bdff /src/nvim/ops.c | |
parent | 47d52e1578aa6dd0b55d397d24fc929b95d586f2 (diff) | |
download | rneovim-41dbb69a85302e9af5c8b76e0d8217ad7d197f8a.tar.gz rneovim-41dbb69a85302e9af5c8b76e0d8217ad7d197f8a.tar.bz2 rneovim-41dbb69a85302e9af5c8b76e0d8217ad7d197f8a.zip |
lint
Diffstat (limited to 'src/nvim/ops.c')
-rw-r--r-- | src/nvim/ops.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 |