view src/testdir/unix.vim @ 22027:ee967cdcf749 v8.2.1563

patch 8.2.1563: Vim9: error when using '%" with setbufvar() r getbufvar() Commit: https://github.com/vim/vim/commit/6f84b6db10ab86bca85e33f3fc6ee735eec8bbe5 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Sep 1 23:16:32 2020 +0200 patch 8.2.1563: Vim9: error when using '%" with setbufvar() r getbufvar() Problem: Vim9: error when using '%" with setbufvar() or getbufvar(). Solution: Use tv_get_buf_from_arg(). (closes https://github.com/vim/vim/issues/6816)
author Bram Moolenaar <Bram@vim.org>
date Tue, 01 Sep 2020 23:30:03 +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