Skip to content

Commit

Permalink
Merge pull request #259 from oflisback/topic/update-telescope-diagnos…
Browse files Browse the repository at this point in the history
…tics-api

Fix two diagnostic shortcuts by using updated telescope API
  • Loading branch information
gnmearacaun committed Oct 24, 2022
2 parents 935b0f5 + 001a080 commit 76327a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lua/user/whichkey.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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.format{async=true}<cr>", "Format" },
Expand Down

0 comments on commit 76327a4

Please sign in to comment.