diff --git a/lua/autocommands.lua b/lua/autocommands.lua index 435cba8..1d24a55 100644 --- a/lua/autocommands.lua +++ b/lua/autocommands.lua @@ -40,8 +40,8 @@ vim.api.nvim_create_autocmd({ "OptionSet" }, { group = markdown, callback = function() if vim.o.spell == true then - vim.keymap.set("n", "i", "mz[s1z=`z", { noremap = true, silent = true }) - vim.keymap.set("n", "à", "]s", { noremap = true, silent = true }) + vim.keymap.set("n", "i", "mz[s1z=`z", { noremap = true, silent = true, desc = "f[I]x typo under cursor" }) + vim.keymap.set("n", "à", "]s", { noremap = true, silent = true, desc = "Go to the next typo" }) else keyunmap("n", "i") keyunmap("n", "à")