projekt0n / github-nvim-theme

Github's Neovim themes
MIT License
2.02k stars 104 forks source link

Is there any way to set up the background color as transparent? #327

Open sebalfaro opened 1 month ago

sebalfaro commented 1 month ago

Hey there, wanted to change the background color of the editor as transparent, something like this, is it possible?

image

tmillr commented 1 month ago

I do believe neovim supports this? Probably all you have to do is just unset the background color of the Normal highlight group. If it works, it should show the background of your terminal or GUI (unless you have configured your terminal or GUI to be transparent as well, in which case you should be able to see whatever is beneath the OS window).

Actually, there is a transparent option that you can set: see here. Try that first:

   options = {
-    transparency = true,
+    transparent = true,
   },