The edgy.nvim cannot work well with windows which can be full-screen. For example, while starting the neovim with a directory, netrw or nvimtree will be full-screen and the edgy.nvim cannot work well with them.
The minimal init file to reproduce the bug is:
-- save as repro.lua
-- run with nvim -u repro.lua
-- DO NOT change the paths
local root = vim.fn.fnamemodify("./.repro", ":p")
-- set stdpaths to use .repro
for _, name in ipairs({ "config", "data", "state", "runtime", "cache" }) do
vim.env[("XDG_%s_HOME"):format(name:upper())] = root .. "/" .. name
end
-- bootstrap lazy
local lazypath = root .. "/plugins/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
vim.fn.system({
"git",
"clone",
"--filter=blob:none",
"--single-branch",
"https://github.com/folke/lazy.nvim.git",
lazypath,
})
end
vim.opt.runtimepath:prepend(lazypath)
-- install plugins
local plugins = {
-- add any other plugins here
{
"folke/edgy.nvim",
opts = {
left = {
{
ft = "netrw",
},
},
},
},
}
require("lazy").setup(plugins, {
root = root .. "/plugins",
})
Then open a directory with neovim
> mkdir test
> nvim -u repro.lua test
The neovim and netrw will be opened normally, but the cursor cannot move as expected, and I cannot open a file by netrw as well.
nvimtree has the similar problem too.
The
edgy.nvim
cannot work well with windows which can be full-screen. For example, while starting the neovim with a directory,netrw
ornvimtree
will be full-screen and theedgy.nvim
cannot work well with them.The minimal init file to reproduce the bug is:
Then open a directory with neovim
The neovim and
netrw
will be opened normally, but the cursor cannot move as expected, and I cannot open a file bynetrw
as well.nvimtree
has the similar problem too.