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)
41a8260445
This commit is contained in:
Jan Edmund Lazo
2020-08-29 13:32:19 -04:00
parent 697a6ca2e4
commit 52a2a1b3d2

View File

@@ -271,7 +271,7 @@ func GetVimCommand(...)
let cmd = cmd . ' -u ' . name let cmd = cmd . ' -u ' . name
endif endif
let cmd .= ' --headless -i NONE' 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 using valgrind, make sure every run uses a different log file.
if cmd =~ 'valgrind.*--log-file=' if cmd =~ 'valgrind.*--log-file='