From 8957df4f22af508fa44b9f8ada7ee4636d972bd3 Mon Sep 17 00:00:00 2001 From: Gregory Anders Date: Thu, 7 Dec 2023 09:28:46 -0800 Subject: test: forward $VIMRUNTIME in child nvim instances --- test/functional/core/startup_spec.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'test/functional/core') diff --git a/test/functional/core/startup_spec.lua b/test/functional/core/startup_spec.lua index 94ec3d4907..1460870774 100644 --- a/test/functional/core/startup_spec.lua +++ b/test/functional/core/startup_spec.lua @@ -866,7 +866,11 @@ describe('user config init', function() local screen = Screen.new(50, 8) screen:attach() - funcs.termopen({nvim_prog}) + funcs.termopen({nvim_prog}, { + env = { + VIMRUNTIME = os.getenv('VIMRUNTIME'), + }, + }) screen:expect({ any = pesc('[i]gnore, (v)iew, (d)eny, (a)llow:') }) -- `i` to enter Terminal mode, `a` to allow feed('ia') -- cgit