diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-04-17 19:41:21 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-04-17 19:41:21 +0200 |
commit | aa0489e12d227d24752cf16e4e97058ac32edcc1 (patch) | |
tree | c7bffc6ea5b5cf2ec14e15c00c99e779d3f4f15f /src/edit.c | |
parent | 0fc1288aefce25da0a2fb2a0aab75b0bd314403f (diff) | |
download | vim-git-aa0489e12d227d24752cf16e4e97058ac32edcc1.tar.gz |
patch 8.2.0590: no 'backspace' value allows ignoring the insertion pointv8.2.0590
Problem: No 'backspace' value allows ignoring the insertion point.
Solution: Add the "nostop" and 3 values. (Christian Brabandt, closes #5940)
Diffstat (limited to 'src/edit.c')
-rw-r--r-- | src/edit.c | 6 |
1 files changed, 4 insertions, 2 deletions
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; } |