Closed kunzaatko closed 2 years ago
You can assign it to me, but I will have time only in about 2 weeks.
akinsho/bufferline.nvim#272
Unlike the other diagnostic utilities, vim.lsp.diagnostic.get_line_diagnostics
isn't hard deprecated (no deprecation message): Source
--- Get the diagnostics by line
---
--- Marked private as this is used internally by the LSP subsystem, but
--- most users should instead prefer |vim.diagnostic.get()|.
---
As I replicate almost entirely the function calls performed by internal LSP subsystem when calling "get code action" manually, I don't see how I can use vim.diagnostic.get
without essentially replicating the private methods used in the neovim codebase itself.
Ok. I see. Well sorry for the false issue then.
vim.lsp.diagnostic.get_all()
is deprecated in 0.6 it should be replaced byvim.diagnostic.get()
instead.