From 2faf4ac6721e5f3b38509990f8ce19ab627d491c Mon Sep 17 00:00:00 2001 From: Daniel Siepmann Date: Wed, 23 Mar 2022 09:32:45 +0100 Subject: [PATCH] Make Neovim within Tmux happily detect color support --- home/files/tmux | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/home/files/tmux b/home/files/tmux index 34f666f..9279dc1 100644 --- a/home/files/tmux +++ b/home/files/tmux @@ -77,4 +77,8 @@ set-window-option -g window-status-bell-style fg=white,bg=red # As requested by neovim for 'autoread' set-option -g focus-events on +# As requested by neovim for 'termguicolors' +set-option -sa terminal-overrides ',*256color*:RGB' +set-option -ga terminal-overrides ',*-256color*:Tc' + # vi: ft=tmux