Mercurial > vim
view src/testdir/test_eval_func.vim @ 19398:f0033a10b613 v8.2.0257
patch 8.2.0257: cannot recognize a terminal in a popup window
Commit: https://github.com/vim/vim/commit/00f3b4e007af07870168bf044cecc9d544483953
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Feb 14 14:32:22 2020 +0100
patch 8.2.0257: cannot recognize a terminal in a popup window
Problem: Cannot recognize a terminal in a popup window.
Solution: Add the win_gettype() function.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 14 Feb 2020 14:45:04 +0100 |
parents | 63b02fcf1361 |
children |
line wrap: on
line source
" Vim script used in test_eval.in. Needed for script-local function. func s:Testje() return "foo" endfunc let Bar = function('s:Testje') $put ='s:Testje exists: ' . exists('s:Testje') $put ='func s:Testje exists: ' . exists('*s:Testje') $put ='Bar exists: ' . exists('Bar') $put ='func Bar exists: ' . exists('*Bar')