Note: This site is currently "Under construction". I'm migrating to a new version of my site building software. Lots of things are in a state of disrepair as a result (for example, footnote links aren't working). It's all part of the process of building in public. Most things should still be readable though.

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`lua`.

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

References