diff options
author | Daniel Hahler <git@thequod.de> | 2019-10-19 23:11:31 +0200 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2019-10-19 14:11:31 -0700 |
commit | 3de4dc539ae938c5fdeddbdf25722fd1f6d9c77c (patch) | |
tree | 06f93f207141a372a02f513e4adb11a3ecea7e37 /src/nvim/testdir | |
parent | 68b0873c458f4a0b5ca8483958994d338060202a (diff) | |
download | rneovim-3de4dc539ae938c5fdeddbdf25722fd1f6d9c77c.tar.gz rneovim-3de4dc539ae938c5fdeddbdf25722fd1f6d9c77c.tar.bz2 rneovim-3de4dc539ae938c5fdeddbdf25722fd1f6d9c77c.zip |
vim-patch:8.1.2180: Error E303 is not useful when 'directory' is empty (#11257)
Problem: Error E303 is not useful when 'directory' is empty.
Solution: Skip the error message. (Daniel Hahler, vim/vim#5067)
https://github.com/vim/vim/commit/00e192becd50a38cb21a1bc3f86fcc7a21f8ee88
Diffstat (limited to 'src/nvim/testdir')
-rw-r--r-- | src/nvim/testdir/test_recover.vim | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_recover.vim b/src/nvim/testdir/test_recover.vim index 09c8d1cda6..fc073cacd2 100644 --- a/src/nvim/testdir/test_recover.vim +++ b/src/nvim/testdir/test_recover.vim @@ -14,6 +14,12 @@ func Test_recover_root_dir() set dir=/notexist/ endif call assert_fails('split Xtest', 'E303:') + + " No error with empty 'directory' setting. + set directory= + split XtestOK + close! + set dir& endfunc |