Mercurial > vim
view src/testdir/test_lua.vim @ 11014:fb2bcfa6a8de v8.0.0396
patch 8.0.0396: 'balloonexpr' only works synchronously
commit https://github.com/vim/vim/commit/59716a27bd5c6c64def6c3ca430ff1246deae749
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Mar 1 20:32:44 2017 +0100
patch 8.0.0396: 'balloonexpr' only works synchronously
Problem: 'balloonexpr' only works synchronously.
Solution: Add balloon_show(). (Jusufadis Bakamovic, closes https://github.com/vim/vim/issues/1449)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Wed, 01 Mar 2017 20:45:05 +0100 |
parents | 6c3d42d18366 |
children | 2e95ea9afa1e |
line wrap: on
line source
" Tests for Lua. " TODO: move tests from test85.in here. if !has('lua') finish endif func Test_luado() new call setline(1, ['one', 'two', 'three']) luado vim.command("%d_") bwipe! " Check switching to another buffer does not trigger ml_get error. new let wincount = winnr('$') call setline(1, ['one', 'two', 'three']) luado vim.command("new") call assert_equal(wincount + 1, winnr('$')) bwipe! bwipe! endfunc