diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2020-11-24 22:17:04 -0500 |
---|---|---|
committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2020-11-24 22:17:52 -0500 |
commit | 3a573a9e2fccf623e17a5c0482e8bc02545d4606 (patch) | |
tree | c46ece90af257efdc69a690fe1c5c21f73d6c9b4 | |
parent | ec53d43f844149f191ae23300db663436eda6d72 (diff) | |
download | rneovim-3a573a9e2fccf623e17a5c0482e8bc02545d4606.tar.gz rneovim-3a573a9e2fccf623e17a5c0482e8bc02545d4606.tar.bz2 rneovim-3a573a9e2fccf623e17a5c0482e8bc02545d4606.zip |
vim-patch:8.1.2290: autocommand test fails
Problem: Autocommand test fails.
Solution: Remove 'closeoff' from 'diffopt'.
https://github.com/vim/vim/commit/a9aa86ff951b7908b615a61a0e216901b96bc0eb
-rw-r--r-- | src/nvim/testdir/test_autocmd.vim | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_autocmd.vim b/src/nvim/testdir/test_autocmd.vim index 04a678eeb8..01ff8c7129 100644 --- a/src/nvim/testdir/test_autocmd.vim +++ b/src/nvim/testdir/test_autocmd.vim @@ -696,6 +696,7 @@ func Test_OptionSet_diffmode_close() call setline(1, ['buffer 2', 'line 2', 'line 3', 'line4']) call assert_fails(':diffthis', 'E788') call assert_equal(1, &diff) + set diffopt-=closeoff bw! call assert_fails(':diffoff!', 'E788') bw! |