Mercurial > vim
diff src/testdir/shared.vim @ 17391:8a43873df941 v8.1.1694
patch 8.1.1694: the RUN_VIM variable is longer than needed
commit https://github.com/vim/vim/commit/41a82604453080d0011f281532582d3bd360df4a
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jul 14 21:54:26 2019 +0200
patch 8.1.1694: the RUN_VIM variable is longer than needed
Problem: The RUN_VIM variable is longer than needed.
Solution: Shorten RUN_VIM. (Daniel Hahler, closes https://github.com/vim/vim/issues/4643)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 14 Jul 2019 22:00:05 +0200 |
parents | 3e2e998ce0db |
children | 0da9bc55c31a |
line wrap: on
line diff
--- a/src/testdir/shared.vim +++ b/src/testdir/shared.vim @@ -261,7 +261,7 @@ func GetVimCommand(...) let cmd = cmd . ' -u ' . name endif let cmd .= ' --not-a-term' - let cmd = substitute(cmd, 'VIMRUNTIME=.*VIMRUNTIME;', '', '') + let cmd = substitute(cmd, 'VIMRUNTIME=\S\+', '', '') " If using valgrind, make sure every run uses a different log file. if cmd =~ 'valgrind.*--log-file='