summaryrefslogtreecommitdiff
path: root/lua
diff options
context:
space:
mode:
authorSimon Hauser <Simon-Hauser@outlook.de>2022-01-14 20:58:40 +0100
committerSimon Hauser <Simon-Hauser@outlook.de>2022-01-14 20:58:40 +0100
commit303f3ca6f732a50697a11ebe76d2d0fef3b3a4a1 (patch)
tree7a14e80d23d7656335433c40cee2756835b8fd29 /lua
parent136d1b36bd4a451bdd65aa009baca96a77023832 (diff)
chore: remove deprecated shorthand functions lsp_*_diagnostics
From now on use Telescope diagnostics. For more informations see `:help telescope.changelog-1553` and `:help builtin.diagnostics`
Diffstat (limited to 'lua')
-rw-r--r--lua/telescope/builtin/init.lua17
1 files changed, 0 insertions, 17 deletions
diff --git a/lua/telescope/builtin/init.lua b/lua/telescope/builtin/init.lua
index 9425602..de5a689 100644
--- a/lua/telescope/builtin/init.lua
+++ b/lua/telescope/builtin/init.lua
@@ -420,23 +420,6 @@ builtin.lsp_workspace_symbols = require_on_exported_call("telescope.builtin.lsp"
---@field symbol_highlights table: string -> string. Matches symbol with hl_group
builtin.lsp_dynamic_workspace_symbols = require_on_exported_call("telescope.builtin.lsp").dynamic_workspace_symbols
-builtin.lsp_document_diagnostics = function(...)
- vim.api.nvim_err_write(
- "`lsp_document_diagnostics` is deprecated and will be removed. Please use `Telescope diagnostics bufnr=0`.\n"
- .. "For more information see `:help telescope.changelog-1553`\n"
- )
- local new = ...
- new.bufnr = 0
- require("telescope.builtin.diagnostics").get(new)
-end
-builtin.lsp_workspace_diagnostics = function(...)
- vim.api.nvim_err_write(
- "`lsp_workspace_diagnostics` is deprecated and will be removed. Please use `Telescope diagnostics`.\n"
- .. "For more information see `:help telescope.changelog-1553`\n"
- )
- require("telescope.builtin.diagnostics").get(...)
-end
-
--
--
-- Diagnostics Pickers