diff options
author | Gregory Anders <greg@gpanders.com> | 2023-12-07 09:28:46 -0800 |
---|---|---|
committer | Gregory Anders <greg@gpanders.com> | 2023-12-07 11:54:22 -0800 |
commit | 8957df4f22af508fa44b9f8ada7ee4636d972bd3 (patch) | |
tree | b8255d4ae4c6043cc17a3382de9e066b316cda32 /test/functional/core/startup_spec.lua | |
parent | 5e78fd7784509dbbe146748e9264e5129cf68ab8 (diff) | |
download | rneovim-8957df4f22af508fa44b9f8ada7ee4636d972bd3.tar.gz rneovim-8957df4f22af508fa44b9f8ada7ee4636d972bd3.tar.bz2 rneovim-8957df4f22af508fa44b9f8ada7ee4636d972bd3.zip |
test: forward $VIMRUNTIME in child nvim instances
Diffstat (limited to 'test/functional/core/startup_spec.lua')
-rw-r--r-- | test/functional/core/startup_spec.lua | 6 |
1 files changed, 5 insertions, 1 deletions
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') |