forked from aniani/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 #4643)
This commit is contained in:
@@ -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='
|
||||
|
||||
Reference in New Issue
Block a user