diff options
| author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2020-08-31 08:25:16 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-08-31 08:25:16 -0400 |
| commit | 2bbbb34ce78ee30c1ee53a9cb3fd1e7608185716 (patch) | |
| tree | 875713dfc511297f472fe6ffebb0ea4f14548420 /src/nvim/testdir/shared.vim | |
| parent | 24b5f69a4922e53baa46faf4f5e0b05da42cd2d5 (diff) | |
| parent | 62ba227155b59c59f4d2d926bf2d4ed7168a0d97 (diff) | |
| download | rneovim-2bbbb34ce78ee30c1ee53a9cb3fd1e7608185716.tar.gz rneovim-2bbbb34ce78ee30c1ee53a9cb3fd1e7608185716.tar.bz2 rneovim-2bbbb34ce78ee30c1ee53a9cb3fd1e7608185716.zip | |
Merge pull request #12804 from janlazo/vim-8.1.1725
[RDY]vim-patch:8.1.{1694,1725,1776,1804,1806,1831,2041,2198,2206},8.2.{1033,1315,1548}
Diffstat (limited to 'src/nvim/testdir/shared.vim')
| -rw-r--r-- | src/nvim/testdir/shared.vim | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/nvim/testdir/shared.vim b/src/nvim/testdir/shared.vim index 41ff9b2bd6..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=' @@ -329,7 +329,3 @@ func RunVimPiped(before, after, arguments, pipecmd) endif return 1 endfunc - -func CanRunGui() - return has('gui') && ($DISPLAY != "" || has('gui_running')) -endfunc |