this post was submitted on 28 Jun 2024
10 points (81.2% liked)

Neovim

2197 readers
5 users here now

founded 2 years ago
MODERATORS
 

idk im having this issue for a long time. itd be nice to have this fixed.

thanks

Edit: I that doesnt help:

  • term=xterm-... in shell config
  • set-option -ga terminal-overrides ",xterm-256color:Tc" in tmux config

solution:

thanks to mazadin for the solution.

im using foo terminal, so setting set-option -ga terminal-overrides ",foot:Tc" in tmux.config fixed it. (yeah im dumb)

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 2 points 5 months ago (6 children)

I 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

[–] [email protected] 1 points 5 months ago* (last edited 5 months ago) (5 children)

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?

[–] [email protected] 2 points 5 months ago (4 children)

Foot. It says foot. When I'm in tmux it says tmux-256color

[–] mazadin 3 points 5 months ago (2 children)

Try this in tmux.conf:

set-option -ga terminal-overrides ",foot:Tc"

These overrides apply to the TERM you are using outside of tmux (where this is running).

[–] [email protected] 2 points 5 months ago* (last edited 5 months ago)

man! its fixed. thanks!!

[–] [email protected] 1 points 5 months ago

Im really sorry that I couldn't reply soon. I'll try it out

load more comments (1 replies)
load more comments (1 replies)
load more comments (1 replies)