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
Aerial Info
-----------
Filetype: help
Configured backends:
treesitter (supported) (attached)
lsp (not supported) [No LSP client found that supports symbols]
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
An error is printed: "Could not find destination window" when closing the help window.
Steps To Reproduce
:h vim
open aerial
:helpclose or <C-w>c
(can also set open_automatic and it will apply to help window)
Expected Behavior
No error
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:
Some amount of this is to be expected. If you close the help window while your cursor is in the aerial window, no autocmds are dispatched so we have no way to know that the window was closed. If you then use <CR> or some other keybind to try to jump to the symbol, there will be an error.
I assume that you have autojump = true set in your config, though it is not present in the minimal config provided. The one thing that could be improved is we could silence the autojump errors when you move your cursor around an orphaned aerial window.
Neovim version (nvim -v)
NVIM v0.10.0-dev-1185+gc88bb658c
Operating system/version
MacOS 13.4.1
Output of :AerialInfo
Describe the bug
An error is printed: "Could not find destination window" when closing the help window.
Steps To Reproduce
:h vim
:helpclose
or<C-w>c
(can also set
open_automatic
and it will apply to help window)Expected Behavior
No error
Minimal example file
No response
Minimal init.lua
Additional context
No response
The text was updated successfully, but these errors were encountered: