-
Notifications
You must be signed in to change notification settings - Fork 10
Invalid window id: 1006 #8
Copy link
Copy link
Open
Labels
questionFurther information is requestedFurther information is requested
Description
Hi, getting this error after opening different file inside popup and trying to re-run <leader>pd:
bug.mp4
How to reproduce:
- open any file
- execute
<leader>pdover a function - it opens the popup (as expected)
- inside the popup, run
:e . - open any file (it will open inside the same popup)
- close the popup via
:q - execute
<leader>pdagain - error happens:
E5108: Lua: .../share/nvim/plugged/overlook.nvim/lua/overlook/popup.lua:178: Invalid window id: 1004
stack traceback:
[C]: in function 'nvim_open_win'
.../share/nvim/plugged/overlook.nvim/lua/overlook/popup.lua:178: in function 'open_and_register_window'
.../share/nvim/plugged/overlook.nvim/lua/overlook/popup.lua:35: in function 'new'
...cal/share/nvim/plugged/overlook.nvim/lua/overlook/ui.lua:7: in function 'create_popup'
...l/share/nvim/plugged/overlook.nvim/lua/overlook/peek.lua:29: in function 'definition'
...al/share/nvim/plugged/overlook.nvim/lua/overlook/api.lua:40: in function 'peek_definition'
/home/yuri/.config/nvim/lua/keybindings.lua:72: in function </home/yuri/.config/nvim/lua/keybindings.lua:71>
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested