feat(neovim): toggle line diagnostics with <leader>D

main
mandlm 2022-07-25 08:48:28 +02:00
parent c89fe3b30e
commit adaf694330
Signed by: mandlm
GPG Key ID: 4AA25D647AA54CC7
1 changed files with 1 additions and 0 deletions

View File

@ -18,6 +18,7 @@ local on_attach = function(client, bufnr)
nnoremap("<leader>ca", vim.lsp.buf.code_action)
nnoremap("<leader>f", vim.lsp.buf.formatting)
nnoremap("<leader>d", telescope.diagnostics)
nnoremap("<leader>D", require("lsp_lines").toggle)
nnoremap("<C-p>", vim.diagnostic.goto_prev)
nnoremap("<C-n>", vim.diagnostic.goto_next)