this post was submitted on 28 Jun 2024
10 points (81.2% liked)
Neovim
2164 readers
3 users here now
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Ah shit, that sucks, sorry to hear.
Sorry on that command if you're using lua to configure the correct setting should be
Or in your init.vim
set termguicolors
should work too. Apologies for messing up that last commentIf you're still up to trying some stuff, last thing I can think of is tmux deciding not to take the setting. Forcing tmux to use true color may help with
set -ag terminal-overrides ",$TERM:Tc"
or launching withtmux -2
may help, you'll have to source the tmux config again of course. Also confirming that your terminal supports true colorI tried that. Not working. Im really sorry, I shouldve mentioned this on the original post itself. I did some searches and tried these already. Im really sorry
Yeah thought you may have done so, still good to check. Hope the best for you but I can't think of anything else myself, unless you have a background set in tmux and a transparent background in neovim
For others who may help, what terminal are you using? What is is the output of echo $TERM?
Foot. It says
foot
. When I'm in tmux it saystmux-256color
Try this in tmux.conf:
These overrides apply to the
TERM
you are using outside of tmux (where this is running).man! its fixed. thanks!!
Im really sorry that I couldn't reply soon. I'll try it out
Yeah that's the expected output. I'd see if alacritty or kitty works as expected to rule out foot being the issue, then manually setting term=xterm-256color in your foot.ini if it does work in either
This must be incredibly frustrating