From 52a2a1b3d2836b77cfaf2bd6025ce30a90669fc9 Mon Sep 17 00:00:00 2001 From: Jan Edmund Lazo Date: Sat, 29 Aug 2020 13:32:19 -0400 Subject: vim-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 vim/vim#4643) https://github.com/vim/vim/commit/41a82604453080d0011f281532582d3bd360df4a --- src/nvim/testdir/shared.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nvim/testdir/shared.vim b/src/nvim/testdir/shared.vim index d56fff1fe8..6180d542ff 100644 --- a/src/nvim/testdir/shared.vim +++ b/src/nvim/testdir/shared.vim @@ -271,7 +271,7 @@ func GetVimCommand(...) let cmd = cmd . ' -u ' . name endif let cmd .= ' --headless -i NONE' - 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=' -- cgit