Skip to content

Commit 76327a4

Browse files
authored
Merge pull request #259 from oflisback/topic/update-telescope-diagnostics-api
Fix two diagnostic shortcuts by using updated telescope API
2 parents 935b0f5 + 001a080 commit 76327a4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lua/user/whichkey.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,11 +132,11 @@ local mappings = {
132132
name = "LSP",
133133
a = { "<cmd>lua vim.lsp.buf.code_action()<cr>", "Code Action" },
134134
d = {
135-
"<cmd>Telescope lsp_document_diagnostics<cr>",
135+
"<cmd>Telescope diagnostics bufnr=0<cr>",
136136
"Document Diagnostics",
137137
},
138138
w = {
139-
"<cmd>Telescope lsp_workspace_diagnostics<cr>",
139+
"<cmd>Telescope diagnostics<cr>",
140140
"Workspace Diagnostics",
141141
},
142142
f = { "<cmd>lua vim.lsp.buf.format{async=true}<cr>", "Format" },

0 commit comments

Comments
 (0)