From adaf69433032139757d06d70240a352343be6dda Mon Sep 17 00:00:00 2001 From: Michael Mandl Date: Mon, 25 Jul 2022 08:48:28 +0200 Subject: [PATCH] feat(neovim): toggle line diagnostics with D --- home-manager/neovim/lspconfig.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/home-manager/neovim/lspconfig.lua b/home-manager/neovim/lspconfig.lua index 0840633..db099e2 100644 --- a/home-manager/neovim/lspconfig.lua +++ b/home-manager/neovim/lspconfig.lua @@ -18,6 +18,7 @@ local on_attach = function(client, bufnr) nnoremap("ca", vim.lsp.buf.code_action) nnoremap("f", vim.lsp.buf.formatting) nnoremap("d", telescope.diagnostics) + nnoremap("D", require("lsp_lines").toggle) nnoremap("", vim.diagnostic.goto_prev) nnoremap("", vim.diagnostic.goto_next)