diff options
author | Raymaekers Luca <raymaekers.luca@gmail.com> | 2024-11-08 15:51:28 +0100 |
---|---|---|
committer | Raymaekers Luca <raymaekers.luca@gmail.com> | 2024-11-08 15:51:28 +0100 |
commit | 160ce5e9595a18c1434562b42f2371be9c58f102 (patch) | |
tree | 942a3ad5de2f0ece44e4b3604dc71223be60c4ef /lua/config/map.lua | |
parent | 379cd763460659bfdbd49386108a9a5ab68663c2 (diff) |
checkpoint
Diffstat (limited to 'lua/config/map.lua')
-rw-r--r-- | lua/config/map.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lua/config/map.lua b/lua/config/map.lua index ace8134..7dcf82a 100644 --- a/lua/config/map.lua +++ b/lua/config/map.lua @@ -89,6 +89,7 @@ map("n", " ts", function() vim.o.spell = verbose_toggle(vim.o.spell, "spelling") end, { noremap = true, desc = "Toggle spelling" }) map("n", "<C-s>g", "z=1<cr><cr>", { noremap = true }) +vim.diagnostic.enable(false) map("n", " td", function() vim.diagnostic.enable(verbose_toggle(vim.diagnostic.is_enabled(), "diagnostics")) end, { desc = "Toggle diagnostics" }) |