bufferline.nvim icon indicating copy to clipboard operation
bufferline.nvim copied to clipboard

Add annotation to ignore deprecated method

Open zegabr opened this issue 1 year ago • 3 comments

  • this is causing errors on nvim-0.10

image

zegabr avatar Apr 26 '24 02:04 zegabr

this is the (nightly) version I'm running

nvim -version
NVIM v0.10.0-dev-3007+ga736e845a
Build type: RelWithDebInfo
LuaJIT 2.1.1713484068

zegabr avatar Apr 26 '24 02:04 zegabr

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.

axelhj avatar May 05 '24 11:05 axelhj

use my forke , i have resolved this issue there link to my fork of bufferline

Theyashsawarkar avatar May 14 '24 07:05 Theyashsawarkar

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

akinsho avatar May 20 '24 08:05 akinsho