Neovim: vim out of the box
11 months
:fclose (Nvim 0.10) closes floating windows. Demo:
function f(z)
vim.api.nvim_open_win(0, false, {relative='editor', width=5+z,height=5+z,row=5+z,col=5+z,border='single',zindex=z})
end
f(1)
f(2)
:1fclose closes top (highest z-index) float.
:fclose! closes all floats.