mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
vim-patch:8.1.2290: autocommand test fails
Problem: Autocommand test fails.
Solution: Remove 'closeoff' from 'diffopt'.
a9aa86ff95
This commit is contained in:
parent
ec53d43f84
commit
3a573a9e2f
@ -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!
|
||||
|
Loading…
Reference in New Issue
Block a user