diff --git a/plugin/todoer.lua b/plugin/todoer.lua index f61d8a9..d0ee27f 100644 --- a/plugin/todoer.lua +++ b/plugin/todoer.lua @@ -80,7 +80,7 @@ local function toggle_todo() vim.api.nvim_set_current_line(line) end end -vim.keymap.set("n", "tt", toggle_todo, { desc = "Toggle todo" }) +vim.keymap.set("n", "tt", toggle_todo, { desc = "Toggle TODO" }) -- function that checks if the current line doesn't start with the string "- [ ] " and, if it doesn't, adds the string at the beginning of the line local function add_todo() @@ -106,7 +106,7 @@ local function add_todo() end end end -vim.keymap.set("n", "ta", add_todo, { desc = "Add todo" }) +vim.keymap.set("n", "ta", add_todo, { desc = "Add TODO" }) -- function that checks if the current line starts with the string "- [ ]" or "- [x]" and, if it does, removes that string from the line local function remove_todo() @@ -122,4 +122,4 @@ local function remove_todo() vim.api.nvim_set_current_line(line) end end -vim.keymap.set("n", "td", remove_todo, { desc = "Remove todo" }) +vim.keymap.set("n", "td", remove_todo, { desc = "Remove TODO" })