mirror of
https://github.com/neovim/neovim.git
synced 2025-09-14 23:38:17 +00:00
vim-patch:8.0.0448: some macros are lower case (#7936)
Problem: Some macros are in lower case, which can be confusing.
Solution: Make a few lower case macros upper case.
b5aedf3e22
ref #6297
This commit is contained in:

committed by
Justin M. Keyes

parent
2a1a624878
commit
8728a5d50b
@@ -7473,13 +7473,11 @@ static bool ins_bs(int c, int mode, int *inserted_space_p)
|
||||
int oldState;
|
||||
int cpc[MAX_MCO]; /* composing characters */
|
||||
|
||||
/*
|
||||
* can't delete anything in an empty file
|
||||
* can't backup past first character in buffer
|
||||
* can't backup past starting point unless 'backspace' > 1
|
||||
* can backup to a previous line if 'backspace' == 0
|
||||
*/
|
||||
if (bufempty()
|
||||
// can't delete anything in an empty file
|
||||
// can't backup past first character in buffer
|
||||
// can't backup past starting point unless 'backspace' > 1
|
||||
// can backup to a previous line if 'backspace' == 0
|
||||
if (BUFEMPTY()
|
||||
|| (!revins_on
|
||||
&& ((curwin->w_cursor.lnum == 1 && curwin->w_cursor.col == 0)
|
||||
|| (!can_bs(BS_START)
|
||||
|
Reference in New Issue
Block a user