Reset diagnostics after disabling
This commit is contained in:
parent
fd0eb9166c
commit
5160384b10
|
@ -127,6 +127,7 @@ vim.api.nvim_create_autocmd("LspAttach", {
|
|||
|
||||
vim.keymap.set("n", "<leader>dd", function()
|
||||
vim.diagnostic.enable(false)
|
||||
vim.diagnostic.reset()
|
||||
end)
|
||||
|
||||
vim.keymap.set("n", "<leader>de", function()
|
||||
|
|
Loading…
Reference in a new issue