Prevents neovim from scrolling past the bottom of the buffer and showing unnecessary :h filler-lines. Disable globally with vim.g.filler_begone = false or per-buffer with vim.b.filler_begone = false. Plugin initializes itself automatically, just add it to your package manager.
Special thanks to zeertzjq, justinmk, seandewar, and echasnovski for their help!
Note: When using vim._extui, set vim.o.showcmd = false to prevent an issue with forced redrawing causing flickering. Thanks stefanboca for debugging this!
-- lazy.nvim
{ 'saghen/filler-begone.nvim' }
-- vim.pack
vim.pack.add({ 'https://github.com/saghen/filler-begone.nvim' })
-- mini.deps
MiniDeps.add({ source = 'saghen/filler-begone.nvim' })