forked from aniani/vim
patch 8.1.0092: prompt buffer test fails
Problem: Prompt buffer test fails. Solution: Set 'nomodified' before closing the window. (Ozaki Kiichi, closes #3051
This commit is contained in:
@@ -24,6 +24,8 @@ func WriteScript(name)
|
|||||||
call writefile([
|
call writefile([
|
||||||
\ 'func TextEntered(text)',
|
\ 'func TextEntered(text)',
|
||||||
\ ' if a:text == "exit"',
|
\ ' if a:text == "exit"',
|
||||||
|
\ ' " Reset &modified to allow the buffer to be closed.',
|
||||||
|
\ ' set nomodified',
|
||||||
\ ' stopinsert',
|
\ ' stopinsert',
|
||||||
\ ' close',
|
\ ' close',
|
||||||
\ ' else',
|
\ ' else',
|
||||||
|
@@ -761,6 +761,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 */
|
||||||
|
/**/
|
||||||
|
92,
|
||||||
/**/
|
/**/
|
||||||
91,
|
91,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user