diff options
author | zeertzjq <zeertzjq@outlook.com> | 2023-12-07 19:14:56 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-07 19:14:56 +0800 |
commit | aba954b662cc1223d11ac3dc99323b9ebf687085 (patch) | |
tree | 708302f034e2f5907ada07a995b75d4f6f6a7086 /test/functional/helpers.lua | |
parent | 94c2703a0390fc7908faf5dcde80615ddf5e616e (diff) | |
download | rneovim-aba954b662cc1223d11ac3dc99323b9ebf687085.tar.gz rneovim-aba954b662cc1223d11ac3dc99323b9ebf687085.tar.bz2 rneovim-aba954b662cc1223d11ac3dc99323b9ebf687085.zip |
fix(terminal): never propagate $COLORTERM from outer env (#26440)
If $COLORTERM is "truecolor" but the user sets 'notermguicolors',
propagating $COLORTERM to :terminal usually doesn't work well.
Diffstat (limited to 'test/functional/helpers.lua')
-rw-r--r-- | test/functional/helpers.lua | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/test/functional/helpers.lua b/test/functional/helpers.lua index 7ec67a2cb3..449c3ab9d8 100644 --- a/test/functional/helpers.lua +++ b/test/functional/helpers.lua @@ -38,8 +38,6 @@ module.nvim_argv = { '--cmd', module.nvim_set, -- Remove default mappings. '--cmd', 'mapclear | mapclear!', - -- Unset $COLORTERM so that it won't propagate to :terminal when 'notermguicolors'. - '--cmd', 'unlet $COLORTERM', -- Make screentest work after changing to the new default color scheme -- Source 'vim' color scheme without side effects -- TODO: rewrite tests |