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

Diagnostics autocommand cant be deleted when a buffer is renamed #114

Open
rktjmp opened this issue Sep 2, 2023 · 0 comments
Open

Diagnostics autocommand cant be deleted when a buffer is renamed #114

rktjmp opened this issue Sep 2, 2023 · 0 comments

Comments

@rktjmp
Copy link
Owner

rktjmp commented Sep 2, 2023

    E5108: Error executing lua: ...pack/manual/start/hotpot.nvim/lua/hotpot/api/reflect.lua:226: Failed to delete autocmd
stack traceback:
        [C]: in function 'nvim_del_autocmd'
        ...pack/manual/start/hotpot.nvim/lua/hotpot/api/reflect.lua:226: in function 'clear_autocmd'
        ...pack/manual/start/hotpot.nvim/lua/hotpot/api/reflect.lua:270: in function 'detach-input'
        ...pack/manual/start/hotpot.nvim/lua/hotpot/api/reflect.lua:292: in function <...pack/manual/start/hotpot
.nvim/lua/hotpot/api/reflect.lua:274>

TODO handle when buffer is renamed/saved
"could not delete autocommand" because buf id changed on save?

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