feat(neovim): toggle line diagnostics with <leader>D
This commit is contained in:
parent
c89fe3b30e
commit
adaf694330
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue