Mercurial > vim
view src/testdir/unix.vim @ 13026:7c0e0e923537 v8.0.1389
patch 8.0.1389: getqflist() items are missing if not set
commit https://github.com/vim/vim/commit/a6d4849c711379b773529afaed640455287ac934
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Dec 12 22:45:31 2017 +0100
patch 8.0.1389: getqflist() items are missing if not set
Problem: getqflist() items are missing if not set, that makes it more
difficult to handle the values.
Solution: When a value is not available return zero or another invalid
value. (Yegappan Lakshmanan, closes #2430)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 12 Dec 2017 23:00:06 +0100 |
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