0

I installed dracula colorscheme in neovim and configured tmux to use 24-bit color. Outside of tmux everything works well, but when i enter vim inside of tmux, background changes. Note: nothing changes except background. Same issue appears in all colorschemes i tried.

In my init.vim file i have: set termguicolors
without tmux
with tmux

Stepan
  • 1
  • In your ~/.tmux.conf put `set -g default-terminal "screen-256color"` – Hielke Walinga Nov 29 '19 at 17:53
  • Tmux doesnt support truecolor, afaik, so that could be your issue. You might need to set dracula’s colorterm config based on whether or not youre in tmux. – D. Ben Knoble Nov 30 '19 at 00:49
  • Can you show us your tmux configuration and vimrc, please, and tell us what the terminal type outside of tmux is (e.g., `xterm-256color`)? – bk2204 Dec 01 '19 at 15:10

0 Answers0