From aa0489e12d227d24752cf16e4e97058ac32edcc1 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Fri, 17 Apr 2020 19:41:21 +0200 Subject: 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) --- src/edit.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/edit.c') diff --git a/src/edit.c b/src/edit.c index edd2374e8..3f0803f68 100644 --- a/src/edit.c +++ b/src/edit.c @@ -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; } -- cgit v1.2.1