From b35061fb64d7f135cc0e5e45f8b3359fb10c352b Mon Sep 17 00:00:00 2001 From: Jan Edmund Lazo Date: Fri, 18 Dec 2020 22:15:27 -0500 Subject: vim-patch:8.2.0264: fileformat test still fails on MS-Windows Problem: Fileformat test still fails on MS-Windows. Solution: Set fileformat of buffer in the right place. https://github.com/vim/vim/commit/a36c830a32f439b862ffb85d4c4b4799ee5ea2f9 --- src/nvim/testdir/test_fileformat.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nvim/testdir/test_fileformat.vim b/src/nvim/testdir/test_fileformat.vim index 3de7d38831..465613f1cf 100644 --- a/src/nvim/testdir/test_fileformat.vim +++ b/src/nvim/testdir/test_fileformat.vim @@ -36,9 +36,9 @@ endfunc func Test_fileformat_plusplus_read() new call setline(1, ['one', 'two', 'three']) - set ff=unix w ++ff=dos Xfile1 enew! + set ff=unix " A :read doesn't change the fileformat, but does apply to the read lines. r ++fileformat=unix Xfile1 call assert_equal('unix', &fileformat) -- cgit