Mercurial > vim
changeset 14149:fba38a3491f5 v8.1.0092
patch 8.1.0092: prompt buffer test fails
commit https://github.com/vim/vim/commit/71ef1ba5e996f34d3e0acbe1d89c4c6bfa5e98ba
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Jun 21 12:07:04 2018 +0200
patch 8.1.0092: prompt buffer test fails
Problem: Prompt buffer test fails.
Solution: Set 'nomodified' before closing the window. (Ozaki Kiichi,
closes #3051
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 21 Jun 2018 12:15:05 +0200 |
parents | 2a2f795f7bbc |
children | 0bb74ec4fd20 |
files | src/testdir/test_prompt_buffer.vim src/version.c |
diffstat | 2 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/testdir/test_prompt_buffer.vim +++ b/src/testdir/test_prompt_buffer.vim @@ -24,6 +24,8 @@ func WriteScript(name) call writefile([ \ 'func TextEntered(text)', \ ' if a:text == "exit"', + \ ' " Reset &modified to allow the buffer to be closed.', + \ ' set nomodified', \ ' stopinsert', \ ' close', \ ' else',