0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

updated for version 7.1-044

This commit is contained in:
Bram Moolenaar
2007-07-29 13:03:35 +00:00
parent 7662423e10
commit 0cbac5bf6a
2 changed files with 4 additions and 1 deletions

View File

@@ -8000,7 +8000,8 @@ ins_shift(c, lastc)
/*
* 0^D and ^^D: remove all indent.
*/
if ((lastc == '0' || lastc == '^') && curwin->w_cursor.col)
if (c == Ctrl_D && (lastc == '0' || lastc == '^')
&& curwin->w_cursor.col > 0)
{
--curwin->w_cursor.col;
(void)del_char(FALSE); /* delete the '^' or '0' */

View File

@@ -666,6 +666,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
44,
/**/
43,
/**/