From c9d045a915c032026b9f0e8ece5f8b96122da6ec Mon Sep 17 00:00:00 2001 From: Amin Farjadi <31803062+amin-farjadi@users.noreply.github.com> Date: Fri, 11 Aug 2023 17:21:45 +0100 Subject: [PATCH] set termguicolors messes up Apple Terminal's colors --- Terminal-specific.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Terminal-specific.md b/Terminal-specific.md index e38b1b6..31cb10d 100644 --- a/Terminal-specific.md +++ b/Terminal-specific.md @@ -23,7 +23,7 @@ Neovim and recent Vim support true color terminal out of the box with just a sin "Use 24-bit (true-color) mode in Vim/Neovim when outside tmux. "If you're using tmux version 2.2 or later, you can remove the outermost $TMUX check and use tmux's 24-bit color support "(see < http://sunaku.github.io/tmux-24bit-color.html#usage > for more information.) -if (empty($TMUX)) +if (empty($TMUX) && getenv('TERM_PROGRAM') != 'Apple_Terminal') if (has("nvim")) "For Neovim 0.1.3 and 0.1.4 < https://github.com/neovim/neovim/pull/2198 > let $NVIM_TUI_ENABLE_TRUE_COLOR=1