Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

calling :JABSOpen when JABS window is already opened breaks the plugin #46

Open
64-bitman opened this issue May 6, 2023 · 0 comments
Open

Comments

@64-bitman
Copy link
Contributor

64-bitman commented May 6, 2023

neovim version = v0.9.0

Hello,
When I call :JABSOpen when the JABS window is already opened, it breaks the entire plugin (I have to restart nvim for it work again) and gives me this error:

E5108: Error executing lua /home/canada/.local/share/nvim/lazy/JABS.nvim/lua/jabs.lua:557: Invalid buffer id: 2                                                 
stack traceback:                                                                                                                                                
        [C]: in function 'nvim_buf_delete'                                                                                                                      
        /home/canada/.local/share/nvim/lazy/JABS.nvim/lua/jabs.lua:557: in function 'close'                                                                     
        /home/canada/.local/share/nvim/lazy/JABS.nvim/lua/jabs.lua:621: in function 'open'                                                                      
        [string ":lua"]:1: in main chunk       

from this issue #9 :JABSOpen should toggle but that doesn't work for me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant