diff options
author | zeertzjq <zeertzjq@outlook.com> | 2023-05-06 09:34:29 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-06 09:34:29 +0800 |
commit | e8661133c533345e8d83a38b077e45922988fa90 (patch) | |
tree | 05f32f244118b65f6a2ba3b99abc4e68476148b4 /test | |
parent | b99f13385cfd15e161b18f103a5e36469f49431f (diff) | |
download | rneovim-e8661133c533345e8d83a38b077e45922988fa90.tar.gz rneovim-e8661133c533345e8d83a38b077e45922988fa90.tar.bz2 rneovim-e8661133c533345e8d83a38b077e45922988fa90.zip |
vim-patch:9.0.0904: various comment and indent flaws (#23498)
Problem: Various comment and indent flaws.
Solution: Improve comments and indenting.
https://github.com/vim/vim/commit/88456cd3c49a3dd1fda17cf350daa9b8216b1aa6
Omit test_function_lists.vim change as that file is likely not
applicable to Nvim due to the existence of Nvim-only functions.
Co-authored-by: Bram Moolenaar <Bram@vim.org>
Diffstat (limited to 'test')
-rw-r--r-- | test/old/testdir/test_fileformat.vim | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/test/old/testdir/test_fileformat.vim b/test/old/testdir/test_fileformat.vim index 8d727a68c4..e12b1d1a9a 100644 --- a/test/old/testdir/test_fileformat.vim +++ b/test/old/testdir/test_fileformat.vim @@ -73,7 +73,12 @@ func Test_fileformats() call s:concat_files('XXMac', 'XXEol', 'XXMacEol') call s:concat_files('XXUxDs', 'XXMac', 'XXUxDsMc') - new + " The :bwipe commands below cause us to get back to the current buffer. + " Avoid stray errors for various 'fileformat' values which may cause a + " modeline to be misinterpreted by wiping the buffer and editing a new one. + only! + bwipe! + enew " Test 1: try reading and writing with 'fileformats' empty set fileformats= |