diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2018-08-26 19:14:33 -0400 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2018-08-27 01:14:33 +0200 |
commit | cbc8c0c625aa8a607367f54f8a3da0bd5e65f406 (patch) | |
tree | 40583d9b857dd9dd64d80bee53cb3f7697f32455 | |
parent | cd1d9d8a7cd70f1413875c376edc4194b66c681d (diff) | |
download | rneovim-cbc8c0c625aa8a607367f54f8a3da0bd5e65f406.tar.gz rneovim-cbc8c0c625aa8a607367f54f8a3da0bd5e65f406.tar.bz2 rneovim-cbc8c0c625aa8a607367f54f8a3da0bd5e65f406.zip |
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
-rw-r--r-- | src/nvim/testdir/test_options.vim | 2 |
1 files changed, 2 insertions, 0 deletions
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() |