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

[mini.bufremove] nvim_exec2(): Vim(bwipeout):Error executing lua callback #429

Closed
3 tasks done
towry opened this issue Jul 31, 2023 · 2 comments
Closed
3 tasks done

Comments

@towry
Copy link

towry commented Jul 31, 2023

Contributing guidelines

Module(s)

mini.bufremove

Description

(mini.bufremove) vim/_editor.lua:0: nvim_exec2(): Vim(bwipeout):Error executing lua callback: /usr/local/share/nvim/runtime/lua/vim/lsp/diagnostic.lua:406: Failed to delete 
autocmd                                                                                                                                                                      
stack traceback:                                                                                                                                                             
        [C]: in function 'nvim_del_autocmd'                                                                                                                                  
        /usr/local/share/nvim/runtime/lua/vim/lsp/diagnostic.lua:406: in function 'disable'                                                                                  
        /usr/local/share/nvim/runtime/lua/vim/lsp/diagnostic.lua:439: in function </usr/local/share/nvim/runtime/lua/vim/lsp/diagnostic.lua:438>                             
        [C]: in function 'nvim_exec2'                                                                                                                                        
        vim/_editor.lua: in function <vim/_editor.lua:0>                                                                                                                     
        [C]: in function 'pcall'                                                                                                                                             
        ...al/share/nvim/lazy/mini.bufremove/lua/mini/bufremove.lua:230: in function 'wipeout'                                                                               
        /Users/towry/.config/nvim/lua/user/plugins_bundle.lua:4493: in function </Users/towry/.config/nvim/lua/user/plugins_bundle.lua:4471>                                 
Press ENTER or type command to continue 

This error message kind interrupt my workflow, I will try to provide reproducible minimal nvim config file if needed.

Neovim version

0.10.0

Steps to reproduce

TODO: create init.lua to reproduce.

Expected behavior

No response

Actual behavior

buffer wipeout fail error interrupt workflow.

@towry towry added the bug Something isn't working label Jul 31, 2023
@echasnovski echasnovski added mini.bufremove and removed bug Something isn't working labels Jul 31, 2023
@echasnovski
Copy link
Owner

At glance, this doesn't seem like an issue with 'mini.bufremove' as it tries to execute :bwipeout on the buffer and gets an error from active diagnostics.

If/when you have a reproducible example, post it here and we'll review it.

@towry
Copy link
Author

towry commented Aug 2, 2023

Not mini.bufremove's issue, because can repro with bwipeout, seems introduced by this pull request https://github.com/neovim/neovim/pull/24128/files#diff-2c5241b87ba4cc10dd6d1822a2cfa718b1ea523bb9781da4f92585aff7f6b01fL3

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

No branches or pull requests

2 participants