mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
updated for version 7.0-199
This commit is contained in:
parent
77f66d6c8d
commit
09a16b5f09
@ -3448,11 +3448,16 @@ ins_compl_prep(c)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
int prev_col = curwin->w_cursor.col;
|
||||||
|
|
||||||
/* put the cursor on the last char, for 'tw' formatting */
|
/* put the cursor on the last char, for 'tw' formatting */
|
||||||
curwin->w_cursor.col--;
|
if (prev_col > 0)
|
||||||
|
dec_cursor();
|
||||||
if (stop_arrow() == OK)
|
if (stop_arrow() == OK)
|
||||||
insertchar(NUL, 0, -1);
|
insertchar(NUL, 0, -1);
|
||||||
curwin->w_cursor.col++;
|
if (prev_col > 0
|
||||||
|
&& ml_get_curline()[curwin->w_cursor.col] != NUL)
|
||||||
|
inc_cursor();
|
||||||
}
|
}
|
||||||
|
|
||||||
auto_format(FALSE, TRUE);
|
auto_format(FALSE, TRUE);
|
||||||
|
@ -666,6 +666,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
199,
|
||||||
/**/
|
/**/
|
||||||
198,
|
198,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user