0

I have a peculiar issue. I have the following set in my init.vim which sets the background color of NeoVim to my terminals background color:

highlight Normal guibg=NONE ctermbg=NONE
highlight Folded guibg=NONE ctermbg=NONE
highlight Question guibg=NONE ctermbg=NONE
highlight WildMenu guibg=NONE ctermbg=NONE
highlight EndOfBuffer guibg=NONE ctermbg=NONE

This works fine, until I :vsplit, this causes the vsplit buffer to use the default background instead of the terminals. This also happens when I open a modal, like ripgrep. Here is a picture example, with the left being the correct background (same as the terminal) and the right vsplit using a different background color.

enter image description here

How can I make the vsplit use the intended background color declared in my init.vim?

Edit: Just want to clarify as well, I am using the Kitty terminal.

Rawley Fowler
  • 1,366
  • 7
  • 15

0 Answers0