Reset diagnostics after disabling

This commit is contained in:
Oliver Davies 2025-01-09 22:00:00 +00:00
parent fd0eb9166c
commit 5160384b10

View file

@ -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()