diff options
author | Gregory Anders <8965202+gpanders@users.noreply.github.com> | 2023-12-07 13:02:02 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-07 13:02:02 -0800 |
commit | 75aaec1b60e81742c01156e6884e6df977a1803e (patch) | |
tree | 0c277084471e60006799bec4053e66789b636e02 /test/functional/core/startup_spec.lua | |
parent | 9ae7d36ff5ebaf75597b442e10890bd77df01fbe (diff) | |
parent | 8957df4f22af508fa44b9f8ada7ee4636d972bd3 (diff) | |
download | rneovim-75aaec1b60e81742c01156e6884e6df977a1803e.tar.gz rneovim-75aaec1b60e81742c01156e6884e6df977a1803e.tar.bz2 rneovim-75aaec1b60e81742c01156e6884e6df977a1803e.zip |
Merge pull request #26456 from gpanders/ignore-vim-runtime
fix(terminal): ignore $VIM and $VIMRUNTIME in pty jobs
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') |