view src/testdir/unix.vim @ 24776:7464d4c927f5 v8.2.2926

patch 8.2.2926: Vim9: no good error for using :legacy in a :def function Commit: https://github.com/vim/vim/commit/c3cb1c92a335be818971acd89f631e82aa30ad3f Author: Bram Moolenaar <Bram@vim.org> Date: Wed Jun 2 16:47:53 2021 +0200 patch 8.2.2926: Vim9: no good error for using :legacy in a :def function Problem: Vim9: no good error for using :legacy in a :def function. Solution: Give an explicit error where :legacy is not working. (closes #8309)
author Bram Moolenaar <Bram@vim.org>
date Wed, 02 Jun 2021 17:00:04 +0200
parents bfd636b8e259
children dbec60b8c253
line wrap: on
line source

" Settings for test script execution
" Always use "sh", don't use the value of "$SHELL".
set shell=sh

" Only when the +eval feature is present. 
if 1
  " While some tests overwrite $HOME to prevent them from polluting user files,
  " we need to remember the original value so that we can tell external systems
  " where to ask about their own user settings.
  let g:tester_HOME = $HOME
endif

source setup.vim