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
Filetype: python
Configured backends:
treesitter (supported) (attached)
lsp (supported)
markdown (not supported) [Filetype is not markdown]
man (not supported) [Filetype is not man]
Show symbols: Class, Constructor, Enum, Function, Interface, Module, Method, Struct
Describe the bug
With config close_on_select = false, floating window is closed when I click an item in the window to jump.
Previously, the floating window remained even I jumped, so the window was conveniently used as an index by displaying it in the upper right corner of the editing window.
At some point, (may be from this commit?) the window disappeared when I clicked to jump.
Since the floating window is very useful when I editing multiple files with split windows, it would be great if you could provide an option which I can keep the floating window.
What is the severity of this bug?
minor (annoyance)
Steps To Reproduce
Add config close_on_select = false. (I think it's default.)
Open floating window with :AerialOpen float.
Click an item in the floating window.
Expected Behavior
The floating window is kept open even editing window is jumped to the code.
Minimal example file
No response
Minimal init.lua
-- 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",
"--single-branch",
"https://github.com/folke/lazy.nvim.git",
lazypath,
})
endvim.opt.runtimepath:prepend(lazypath)
-- install pluginslocalplugins= {
"folke/tokyonight.nvim",
{
"stevearc/aerial.nvim",
config=function()
require("aerial").setup({
-- add your aerial config here
})
end,
},
{
"nvim-treesitter/nvim-treesitter",
build=":TSUpdate",
config=function()
require("nvim-treesitter.configs").setup({
ensure_installed= { "c", "lua" },
auto_install=true,
highlight= { enable=true },
})
end,
},
-- add any other plugins here
}
require("lazy").setup(plugins, {
root=root.."/plugins",
})
vim.cmd.colorscheme("tokyonight")
-- add anything else here
Additional context
No response
The text was updated successfully, but these errors were encountered:
Yeah, that commit is probably where this changed. The trouble is there are some people that expect the floating window to auto-close, and some people that want it to remain open. You could create a keymap that re-opens the float after navigation, would this work for you?
Thank you for your suggestion. The suggested keymap setup works as you described in my environment.
However, I want to keep floating window all the time.
The keymap config close the floating window when another window is selected with mouse click, c-w v etc.
Neovim version (nvim -v)
NVIM v0.9.4
Operating system/version
Arch Linux
Output of :AerialInfo
Aerial Info
Filetype: python
Configured backends:
treesitter (supported) (attached)
lsp (supported)
markdown (not supported) [Filetype is not markdown]
man (not supported) [Filetype is not man]
Show symbols: Class, Constructor, Enum, Function, Interface, Module, Method, Struct
Describe the bug
With config
close_on_select = false
, floating window is closed when I click an item in the window to jump.Previously, the floating window remained even I jumped, so the window was conveniently used as an index by displaying it in the upper right corner of the editing window.
At some point, (may be from this commit?) the window disappeared when I clicked to jump.
Since the floating window is very useful when I editing multiple files with split windows, it would be great if you could provide an option which I can keep the floating window.
What is the severity of this bug?
minor (annoyance)
Steps To Reproduce
close_on_select = false
. (I think it's default.):AerialOpen float
.Expected Behavior
The floating window is kept open even editing window is jumped to the code.
Minimal example file
No response
Minimal init.lua
Additional context
No response
The text was updated successfully, but these errors were encountered: