From cbc8c0c625aa8a607367f54f8a3da0bd5e65f406 Mon Sep 17 00:00:00 2001 From: Jan Edmund Lazo Date: Sun, 26 Aug 2018 19:14:33 -0400 Subject: [PATCH] vim-patch:8.1.0322: Test_copy_winopt() does not restore 'hidden' (#8918) Problem: Test_copy_winopt() does not restore 'hidden'. Solution: Restore the option, fix indent. (Ozaki Kiichi, closes vim/vim#3367) https://github.com/vim/vim/commit/7cb33a14c943c0b87dc61c1da438a443f8a43782 --- src/nvim/testdir/test_options.vim | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/nvim/testdir/test_options.vim b/src/nvim/testdir/test_options.vim index e90a14c380..62d40f71af 100644 --- a/src/nvim/testdir/test_options.vim +++ b/src/nvim/testdir/test_options.vim @@ -338,6 +338,8 @@ func Test_copy_winopt() bnext call assert_equal(4,&numberwidth) bw! + + set hidden& endfunc func Test_shortmess_F()