mirror of
https://github.com/neovim/neovim.git
synced 2025-12-10 00:22:41 +00:00
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.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user