aboutsummaryrefslogtreecommitdiff
path: root/test/old/testdir
diff options
context:
space:
mode:
authorGregory Anders <greg@gpanders.com>2023-12-07 09:28:46 -0800
committerGregory Anders <greg@gpanders.com>2023-12-07 11:54:22 -0800
commit8957df4f22af508fa44b9f8ada7ee4636d972bd3 (patch)
treeb8255d4ae4c6043cc17a3382de9e066b316cda32 /test/old/testdir
parent5e78fd7784509dbbe146748e9264e5129cf68ab8 (diff)
downloadrneovim-8957df4f22af508fa44b9f8ada7ee4636d972bd3.tar.gz
rneovim-8957df4f22af508fa44b9f8ada7ee4636d972bd3.tar.bz2
rneovim-8957df4f22af508fa44b9f8ada7ee4636d972bd3.zip
test: forward $VIMRUNTIME in child nvim instances
Diffstat (limited to 'test/old/testdir')
-rw-r--r--test/old/testdir/runnvim.vim2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/old/testdir/runnvim.vim b/test/old/testdir/runnvim.vim
index 2db60d05b3..3ccb9988cf 100644
--- a/test/old/testdir/runnvim.vim
+++ b/test/old/testdir/runnvim.vim
@@ -7,6 +7,8 @@ function s:logger.on_exit(id, data, event)
call add(self.d_events, [a:event, ['']])
endfunction
+let s:logger.env = #{VIMRUNTIME: $VIMRUNTIME}
+
" Replace non-printable chars by special sequence, or "<%x>".
let s:escaped_char = {"\n": '\n', "\r": '\r', "\t": '\t'}
function! s:escape_non_printable(char) abort