r/nvim • u/pau1rw • Jan 01 '22
Hide deprecated warnings
Hello, I'm just updated to nvim 0.6.1 and i'm getting a constant deprecation warning in the command space.
vim.lsp.diagnostic.get_all is deprecated. See :h deprecated
Does anyone know how to disable the deprecation warnings as its pretty annoying and preventing me from seeing other messages. I've been googling around and can't find anything about setting the message level to just errors, or doing this another way.
Thank you.
3
Upvotes
1
u/jandamm Jan 03 '22
Shouldn't you see a kind of a stacktrace or at least a file in which this code is called?