mirror of
https://github.com/vim/vim.git
synced 2025-09-28 04:24:06 -04:00
patch 8.2.0590: no 'backspace' value allows ignoring the insertion point
Problem: No 'backspace' value allows ignoring the insertion point. Solution: Add the "nostop" and 3 values. (Christian Brabandt, closes #5940)
This commit is contained in:
@@ -4884,8 +4884,10 @@ ins_bs(
|
||||
revins_on ||
|
||||
#endif
|
||||
(curwin->w_cursor.col > mincol
|
||||
&& (curwin->w_cursor.lnum != Insstart_orig.lnum
|
||||
|| curwin->w_cursor.col != Insstart_orig.col)));
|
||||
&& (can_bs(BS_NOSTOP)
|
||||
|| (curwin->w_cursor.lnum != Insstart_orig.lnum
|
||||
|| curwin->w_cursor.col != Insstart_orig.col)
|
||||
)));
|
||||
}
|
||||
did_backspace = TRUE;
|
||||
}
|
||||
|
Reference in New Issue
Block a user