1
0
forked from aniani/vim

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:
Bram Moolenaar
2020-04-17 19:41:21 +02:00
parent 0fc1288aef
commit aa0489e12d
8 changed files with 67 additions and 9 deletions

View File

@@ -344,9 +344,14 @@
#define WIM_BUFLASTUSED 0x08
// arguments for can_bs()
// each defined char should be unique over all values
// except for BS_START, that intentionally also matches BS_NOSTOP
// because BS_NOSTOP behaves exactly the same except it
// does not stop at the start of the insert point
#define BS_INDENT 'i' // "Indent"
#define BS_EOL 'o' // "eOl"
#define BS_EOL 'l' // "eoL"
#define BS_START 's' // "Start"
#define BS_NOSTOP 'p' // "nostoP
// flags for the 'culopt' option
#define CULOPT_LINE 0x01 // Highlight complete line