comparison src/testdir/test_scrollbind.vim @ 21765:08940efa6b4e v8.2.1432

patch 8.2.1432: various inconsistencies in test files Commit: https://github.com/vim/vim/commit/6d91bcb4d23b5c6a0be72c384beaf385e2d9d606 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Aug 12 18:50:36 2020 +0200 patch 8.2.1432: various inconsistencies in test files Problem: Various inconsistencies in test files. Solution: Add modelines where they were missing. Use Check commands instead of silently skipping over tests. Adjust indents and comments. (Ken Takata, closes #6695)
author Bram Moolenaar <Bram@vim.org>
date Wed, 12 Aug 2020 19:00:08 +0200
parents 687ab2b5252b
children d8fdafc4b390
comparison
equal deleted inserted replaced
21764:476b6faad407 21765:08940efa6b4e
1 " Test for 'scrollbind' causing an unexpected scroll of one of the windows. 1 " Test for 'scrollbind' causing an unexpected scroll of one of the windows.
2
2 func Test_scrollbind() 3 func Test_scrollbind()
3 " We don't want the status line to cause problems: 4 " We don't want the status line to cause problems:
4 set laststatus=0 5 set laststatus=0
5 let totalLines = &lines * 20 6 let totalLines = &lines * 20
6 let middle = totalLines / 2 7 let middle = totalLines / 2
268 enew! 269 enew!
269 270
270 new | only! 271 new | only!
271 set scrollbind& scrollopt& scrolloff& wrap& equalalways& splitbelow& 272 set scrollbind& scrollopt& scrolloff& wrap& equalalways& splitbelow&
272 endfunc 273 endfunc
274
275 " vim: shiftwidth=2 sts=2 expandtab