globals: did_ai is bool

This commit is contained in:
Jan Edmund Lazo
2018-08-06 11:46:46 -04:00
parent b9ab363636
commit 47d52e1578
4 changed files with 17 additions and 15 deletions

View File

@@ -1475,7 +1475,7 @@ int op_delete(oparg_T *oap)
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 */
did_ai = true; // delete the indent when ESC hit
ai_col = curwin->w_cursor.col;
} else
beginline(0); /* cursor in column 0 */