feat(neovim): toggle line diagnostics with <leader>D
parent
c89fe3b30e
commit
adaf694330
|
@ -18,6 +18,7 @@ local on_attach = function(client, bufnr)
|
||||||
nnoremap("<leader>ca", vim.lsp.buf.code_action)
|
nnoremap("<leader>ca", vim.lsp.buf.code_action)
|
||||||
nnoremap("<leader>f", vim.lsp.buf.formatting)
|
nnoremap("<leader>f", vim.lsp.buf.formatting)
|
||||||
nnoremap("<leader>d", telescope.diagnostics)
|
nnoremap("<leader>d", telescope.diagnostics)
|
||||||
|
nnoremap("<leader>D", require("lsp_lines").toggle)
|
||||||
nnoremap("<C-p>", vim.diagnostic.goto_prev)
|
nnoremap("<C-p>", vim.diagnostic.goto_prev)
|
||||||
nnoremap("<C-n>", vim.diagnostic.goto_next)
|
nnoremap("<C-n>", vim.diagnostic.goto_next)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue