Mercurial > vim
view src/testdir/test_eval_func.vim @ 19413:85e8bee2e3e2 v8.2.0264
patch 8.2.0264: fileformat test still fails on MS-Windows
Commit: https://github.com/vim/vim/commit/a36c830a32f439b862ffb85d4c4b4799ee5ea2f9
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Feb 16 15:08:28 2020 +0100
patch 8.2.0264: fileformat test still fails on MS-Windows
Problem: Fileformat test still fails on MS-Windows.
Solution: Set fileformat of buffer in the right place.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 16 Feb 2020 15:15:05 +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')