aboutsummaryrefslogtreecommitdiff
path: root/test/functional/terminal/highlight_spec.lua
diff options
context:
space:
mode:
authorGregory Anders <8965202+gpanders@users.noreply.github.com>2023-12-07 13:02:02 -0800
committerGitHub <noreply@github.com>2023-12-07 13:02:02 -0800
commit75aaec1b60e81742c01156e6884e6df977a1803e (patch)
tree0c277084471e60006799bec4053e66789b636e02 /test/functional/terminal/highlight_spec.lua
parent9ae7d36ff5ebaf75597b442e10890bd77df01fbe (diff)
parent8957df4f22af508fa44b9f8ada7ee4636d972bd3 (diff)
downloadrneovim-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/terminal/highlight_spec.lua')
-rw-r--r--test/functional/terminal/highlight_spec.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/functional/terminal/highlight_spec.lua b/test/functional/terminal/highlight_spec.lua
index 4754d14052..84bd7a2d4a 100644
--- a/test/functional/terminal/highlight_spec.lua
+++ b/test/functional/terminal/highlight_spec.lua
@@ -147,6 +147,10 @@ it(':terminal highlight has lower precedence than editor #9964', function()
'+hi Normal ctermfg=Blue ctermbg=Yellow',
'+norm! ichild nvim',
'+norm! oline 2',
+ }, {
+ env = {
+ VIMRUNTIME = os.getenv('VIMRUNTIME'),
+ },
})
screen:expect([[
{N_child:^child nvim }|