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
I have searched the existing issues of trouble.nvim
I have searched the existing issues of plugins related to this issue
Neovim version (nvim -v)
v0.10.0-dev
Operating system/version
Ubuntu 20.04 LTS
Describe the bug
Hi,
It seems 600fe24 reintroduced a focus stealing bug. If I downgrade to 2.9.1 auto_open doesn't steal the focus but if I switch to main, whenever the trouble panel open it steal the focus.
I'm expecting auto_open to not steal the focus from the editor
Repro
-- DO NOT change the paths and don't remove the colorschemelocalroot=vim.fn.fnamemodify("./.repro", ":p")
-- set stdpaths to use .reprofor_, nameinipairs({ "config", "data", "state", "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", "https://github.com/folke/lazy.nvim.git", lazypath, })
endvim.opt.runtimepath:prepend(lazypath)
-- install pluginslocalplugins= {
"folke/tokyonight.nvim",
"folke/trouble.nvim",
-- add any other plugins here
}
require("lazy").setup(plugins, {
root=root.."/plugins",
})
vim.cmd.colorscheme("tokyonight")
-- add anything else here
The text was updated successfully, but these errors were encountered:
Did you check docs and existing issues?
Neovim version (nvim -v)
v0.10.0-dev
Operating system/version
Ubuntu 20.04 LTS
Describe the bug
Hi,
It seems 600fe24 reintroduced a focus stealing bug. If I downgrade to 2.9.1 auto_open doesn't steal the focus but if I switch to main, whenever the trouble panel open it steal the focus.
Steps To Reproduce
Expected Behavior
I'm expecting auto_open to not steal the focus from the editor
Repro
The text was updated successfully, but these errors were encountered: