Skip to content

Commit 001a080

Browse files
committed
fix: use updated telescope diagnostics api
1 parent 935b0f5 commit 001a080

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)