home
NOTE: Under Construction - I'm in the middle of upgrading my site and lots of stuff is kinda broken. Please forgive the mess.

Add A Background Image To Neovim With A .lua Config File

I like background images in my terminal. When I switched to using a .lua file I wasn't sure how to set it up to show the image. The solution was to add these two lines to ~/.config/nvim/init.lua.

June 2023
Code
vim.cmd.highlight({ "Normal", "guibg=NONE" })
vim.cmd.highlight({ "Normal", "ctermbg=NONE" })

Those settings change the Neovim background to transparent
to show your image
═══ § ═══

Footnotes And References