view src/testdir/test_jumps.vim @ 13835:8e583c52eb44 v8.0.1789

patch 8.0.1789: BufWinEnter does not work well for a terminal window commit https://github.com/vim/vim/commit/606cb8b08ed510962fcdc8ef1abcc1fe35fbffef Author: Bram Moolenaar <Bram@vim.org> Date: Thu May 3 20:40:20 2018 +0200 patch 8.0.1789: BufWinEnter does not work well for a terminal window Problem: BufWinEnter does not work well for a terminal window. Solution: Do not trigger BufWinEnter when opening a terminal window.
author Christian Brabandt <cb@256bit.org>
date Thu, 03 May 2018 20:45:04 +0200
parents 5ec4fbfe38c5
children 08940efa6b4e
line wrap: on
line source

func Test_empty_buffer()
  new
  insert
a
b
c
d
.
  call assert_equal(1, line("''"))
  bwipe!
endfunc