From 135b410607f008d3709a7b1374f3f37924eb9fe4 Mon Sep 17 00:00:00 2001 From: Sam Bingner Date: Fri, 3 Aug 2018 15:06:38 -1000 Subject: Update vim --- data/vim/patches/8.1.0119 | 71 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 71 insertions(+) create mode 100644 data/vim/patches/8.1.0119 (limited to 'data/vim/patches/8.1.0119') diff --git a/data/vim/patches/8.1.0119 b/data/vim/patches/8.1.0119 new file mode 100644 index 000000000..902f0bf7d --- /dev/null +++ b/data/vim/patches/8.1.0119 @@ -0,0 +1,71 @@ +To: vim_dev@googlegroups.com +Subject: Patch 8.1.0119 +Fcc: outbox +From: Bram Moolenaar +Mime-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit +------------ + +Patch 8.1.0119 +Problem: Failing test goes unnoticed because testdir/messages is not + written. +Solution: Set 'nomodifiable' only local to the buffer. +Files: src/testdir/test_put.vim + + +*** ../vim-8.1.0118/src/testdir/test_put.vim 2018-06-27 20:49:40.571862365 +0200 +--- src/testdir/test_put.vim 2018-06-27 22:21:37.122498815 +0200 +*************** +*** 62,68 **** + + func Test_put_fails_when_nomodifiable() + new +! set nomodifiable + + normal! yy + call assert_fails(':put', 'E21') +--- 62,68 ---- + + func Test_put_fails_when_nomodifiable() + new +! setlocal nomodifiable + + normal! yy + call assert_fails(':put', 'E21') +*************** +*** 85,91 **** + " output duplicate error messages when invoked in a non-modifiable buffer. + func Test_put_p_errmsg_nodup() + new +! set nomodifiable + + normal! yy + +--- 85,91 ---- + " output duplicate error messages when invoked in a non-modifiable buffer. + func Test_put_p_errmsg_nodup() + new +! setlocal nomodifiable + + normal! yy + +*** ../vim-8.1.0118/src/version.c 2018-06-27 20:49:40.571862365 +0200 +--- src/version.c 2018-06-27 23:11:22.293187958 +0200 +*************** +*** 791,792 **** +--- 791,794 ---- + { /* Add new patch number below this line */ ++ /**/ ++ 119, + /**/ + +-- +hundred-and-one symptoms of being an internet addict: +125. You begin to wonder how often it REALLY is necessary to get up + and shower or bathe. + + /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ +/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ +\\\ an exciting new programming language -- http://www.Zimbu.org /// + \\\ help me help AIDS victims -- http://ICCF-Holland.org /// -- cgit v1.2.3