Mercurial > vim
comparison src/testdir/test_execute_func.vim @ 18767:068337e86133 v8.1.2373
patch 8.1.2373: cannot build with +popupwin but without +quickfix
Commit: https://github.com/vim/vim/commit/5a4c3082d7ab51b3d448a91578479c96c1ab0ad3
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Dec 1 15:23:11 2019 +0100
patch 8.1.2373: cannot build with +popupwin but without +quickfix
Problem: Cannot build with +popupwin but without +quickfix. (John Marriott)
Solution: Adjust #ifdefs.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 01 Dec 2019 15:30:04 +0100 |
parents | 49b78d6465e5 |
children | fd1070ff696b |
comparison
equal
deleted
inserted
replaced
18766:3cc0ddf2abd0 | 18767:068337e86133 |
---|---|
1 " test execute() | 1 " test execute() |
2 | 2 |
3 source view_util.vim | 3 source view_util.vim |
4 source check.vim | |
4 | 5 |
5 func NestedEval() | 6 func NestedEval() |
6 let nested = execute('echo "nested\nlines"') | 7 let nested = execute('echo "nested\nlines"') |
7 echo 'got: "' . nested . '"' | 8 echo 'got: "' . nested . '"' |
8 endfunc | 9 endfunc |
102 call win_gotoid(otherwin) | 103 call win_gotoid(otherwin) |
103 bwipe! | 104 bwipe! |
104 endfunc | 105 endfunc |
105 | 106 |
106 func Test_win_execute_update_ruler() | 107 func Test_win_execute_update_ruler() |
108 CheckFeature quickfix | |
109 | |
107 enew | 110 enew |
108 call setline(1, range(500)) | 111 call setline(1, range(500)) |
109 20 | 112 20 |
110 split | 113 split |
111 let winid = win_getid() | 114 let winid = win_getid() |