feat: migrate to Telescope diagnostics using vim.diagnostic (#1553)

This commit is contained in:
Simon Hauser
2021-12-10 17:49:06 +01:00
committed by GitHub
parent 61240ac75a
commit 56325fefb2
7 changed files with 209 additions and 209 deletions

View File

@@ -142,4 +142,22 @@ LATEST version. Every other commit is not supported. So make sure you build
the newest nightly before reporting issues.
*telescope.changelog-1553*
Date: December 10, 2021
PR: https://github.com/nvim-telescope/telescope.nvim/pull/1553
Move from `vim.lsp.diagnostic` to `vim.diagnostic`.
Because the newly added `vim.diagnostic` has no longer anything to do with lsp
we also decided to rename our diagnostic functions:
Telescope lsp_document_diagnostics -> Telescope diagnostics bufnr=0
Telescope lsp_workspace_diagnostics -> Telescope diagnostics
Because of that the `lsp_*_diagnostics` inside Telescope will be deprecated
and removed soon. The new `diagnostics` works almost identical to the previous
functions. Note that there is no longer a workspace diagnostics. You can only
get all diagnostics for all open buffers.
vim:tw=78:ts=8:ft=help:norl: