bufferline.nvim
bufferline.nvim copied to clipboard
Add annotation to ignore deprecated method
- this is causing errors on nvim-0.10
this is the (nightly) version I'm running
nvim -version
NVIM v0.10.0-dev-3007+ga736e845a
Build type: RelWithDebInfo
LuaJIT 2.1.1713484068
I stumbled upon this issue today aswell. I found it weird that there is a runtime crash due to a deprecation but I hope this gets merged to fix the issue. I updated to a nightly/master version when I encountered this bufferline crash-on-setup.
use my forke , i have resolved this issue there link to my fork of bufferline
I think there is a bit of confusion here. Turning off a diagnostic I don't think will fix this since the issue was actually that a method was deprecated and was still being used. That method is now no longer being used so should not be causing an error. I don't think it's necessary to actually hide this since for me it's a good reminder to come in here and remove this eventually.
Thanks for raising a PR and investigating though. Let me know if it somehow isn't fixed on the latest commit on the main branch. Since you are on a > 0.10.0 version then you shouldn't even be seeing that path triggered at all