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

[Not a bug] #26

Closed
Slushee-a opened this issue Oct 14, 2022 · 2 comments
Closed

[Not a bug] #26

Slushee-a opened this issue Oct 14, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@Slushee-a
Copy link

Neovim version

NVIM v0.8.0
Build type: Release
LuaJIT 2.1.0-beta3
Compiled by builduser

Describe the bug
Neovim shows a warning when opened: Error detected while processing [config file]
When trying to update vim-plug, this error is shown:

Error detected while processing /home/slushee/.config/nvim/init.vim:
bufdelete.nvim: No buffers were deleted

The error doesn't happen when I comment out

require('bufdelete').bufdelete(0, true)

To Reproduce
Steps to reproduce the behavior:

  1. Install budelete.nvim with vim plug
  2. Add require('bufdelete').bufdelete(0, true) to the config file
  3. Open nvim / try to update vim-plug

Expected behavior
No error ocurring

Does this error occur in the minimal init file?
It does not.

Screenshots
image
image
image

Additional context
This had never happened until not too long ago.

@Slushee-a Slushee-a added the bug Something isn't working label Oct 14, 2022
@famiu
Copy link
Owner

famiu commented Oct 15, 2022

Why would you put require('bufdelete').bufdelete(0) in your config file?

Also, there is no bug, it is an issue with your config. There is no buffer being deleted so this is perfectly expected behavior.

@Slushee-a
Copy link
Author

Oh, I thought that was supposed to go in the config. I've had it there for the longest time and it hasn't complained once.
Thanks! This was just me being dumb

@Slushee-a Slushee-a changed the title [Bug] [Not a bug] Oct 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants