replaced deprecated telescope diagnostics command

The old telescope diagnostics command for document and work-spaces has been deprecated, so replaced them with the new suggested command in the change-log number#1553 of telescope
pull/34/head
Sajid Mahmood 3 years ago committed by GitHub
parent 7a082a3306
commit dc373d7b7e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -132,11 +132,11 @@ local mappings = {
name = "LSP",
a = { "<cmd>lua vim.lsp.buf.code_action()<cr>", "Code Action" },
d = {
"<cmd>Telescope lsp_document_diagnostics<cr>",
"<cmd>Telescope diagnostics bufnr=0<cr>",
"Document Diagnostics",
},
w = {
"<cmd>Telescope lsp_workspace_diagnostics<cr>",
"<cmd>Telescope diagnostics<cr>",
"Workspace Diagnostics",
},
f = { "<cmd>lua vim.lsp.buf.formatting()<cr>", "Format" },

Loading…
Cancel
Save