You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The window pinned by stickybuf.nvim might be covered by empty buffer.
issue.mp4
What is the severity of this bug?
tolerable (can work around it)
Steps To Reproduce
create a empty file called empty.txt
nvim -u repro.lua empty.txt
Do what I do in the video, and find that the help window, which should be pinned by the stickybuf.nvim, will be covered by empty buffer. And if I type some words in the empty buffer, the help window will not be covered.
Expected Behavior
The window pinned by stickybuf.nvim should not be covered by empty buffer.
Minimal init.lua
-- save as repro.lua-- run with nvim -u repro.lua-- DO NOT change the pathslocalroot=vim.fn.fnamemodify("./.repro", ":p")
-- set stdpaths to use .reprofor_, nameinipairs({ "config", "data", "state", "runtime", "cache" }) dovim.env[("XDG_%s_HOME"):format(name:upper())] =root.."/" ..nameend-- bootstrap lazylocallazypath=root.."/plugins/lazy.nvim"ifnotvim.loop.fs_stat(lazypath) thenvim.fn.system({
"git",
"clone",
"--filter=blob:none",
"--single-branch",
"https://github.com/folke/lazy.nvim.git",
lazypath,
})
endvim.opt.runtimepath:prepend(lazypath)
-- install pluginslocalplugins= {
-- add any other plugins here
{
"tevearc/stickybuf.nvim",
opts= {},
}
}
require("lazy").setup(plugins, {
root=root.."/plugins",
})
Neovim version (nvim -v)
NVIM v0.10.0-dev-2526+g6525832a8
Operating system/version
Windows 11
Describe the bug
The window pinned by
stickybuf.nvimmight be covered by empty buffer.issue.mp4
What is the severity of this bug?
tolerable (can work around it)
Steps To Reproduce
empty.txtstickybuf.nvim, will be covered by empty buffer. And if I type some words in the empty buffer, the help window will not be covered.Expected Behavior
The window pinned by
stickybuf.nvimshould not be covered by empty buffer.Minimal init.lua