edgy.nvim
edgy.nvim copied to clipboard
bug: Edgy is loosing track of toggleterm windows
Did you check docs and existing issues?
- [X] I have read all the edgy.nvim docs
- [X] I have searched the existing issues of edgy.nvim
- [X] I have searched the existing issues of plugins related to this issue
Neovim version (nvim -v)
0.10
Operating system/version
Ubuntu 22
Describe the bug
When using many different toggleterms at the same time, edgy only allows you to resize the width on one of them. It seems that the other terms' windows are not managed by edgy
Steps To Reproduce
- Create one toggleterm and without hidding it
- Create a second toggle term
- Try To <C-Right/Left> on both to increase/decrease the width, and only one will work
Expected Behavior
Both terms's windows are managed the equally
Repro
-- DO NOT change the paths and don't remove the colorscheme
local root = vim.fn.fnamemodify("./.repro", ":p")
-- set stdpaths to use .repro
for _, name in ipairs({ "config", "data", "state", "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", "https://github.com/folke/lazy.nvim.git", lazypath, })
end
vim.opt.runtimepath:prepend(lazypath)
-- install plugins
local plugins = {
"folke/tokyonight.nvim",
"folke/edgy.nvim",
-- add any other plugins here
}
require("lazy").setup(plugins, {
root = root .. "/plugins",
})
vim.cmd.colorscheme("tokyonight")
-- add anything else here