home ~ socials ~ projects ~ rss

Set The Border Color Of Neovim Floating Windows

April 2025

Turn It Back On

Some of the colorschemes I use for Neovim don't have colors set for the borders on floating windows. I set them with this in my init.lua file:

vim.cmd.highlight({ "FloatBorder", "guifg=#54546d guibg=#16161d" })
end of line
Share link:
https://www.alanwsmith.com/en/2v/sn/of/hw/?set-the-border-color-of-neovim-floating-windows