patch 9.0.0904: various comment and indent flaws
Problem: Various comment and indent flaws.
Solution: Improve comments and indenting.
diff --git a/src/testdir/test_fileformat.vim b/src/testdir/test_fileformat.vim
index e7d1986..7d919c2 100644
--- a/src/testdir/test_fileformat.vim
+++ b/src/testdir/test_fileformat.vim
@@ -76,7 +76,12 @@
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=
diff --git a/src/testdir/test_function_lists.vim b/src/testdir/test_function_lists.vim
index 027a7a5..dd69b83 100644
--- a/src/testdir/test_function_lists.vim
+++ b/src/testdir/test_function_lists.vim
@@ -1,11 +1,11 @@
-" Test to verify that the three function lists,
+" Test to verify that the three function lists:
"
-" global_functions[] in src/evalfunc.c
-" *functions* in runtime/doc/builtin.txt
-" *function-list* in runtime/doc/usr_41.txt
+" - global_functions[] in src/evalfunc.c
+" - *functions* in runtime/doc/builtin.txt
+" - *function-list* in runtime/doc/usr_41.txt
"
-" contain the same functions and that the global_functions and ":help
-" functions" lists are in ASCII order.
+" contain the same functions and that the global_functions and
+" ":help functions" lists are in ASCII order.
func Test_function_lists()