diff --git a/plugin/todoer.lua b/plugin/todoer.lua index d88897e..f5fe3f4 100644 --- a/plugin/todoer.lua +++ b/plugin/todoer.lua @@ -69,6 +69,7 @@ local function add_todo() spacestring = spacestring .. " " end line = spacestring .. "- [ ] " .. line + vim.api.nvim_set_current_line(line) end end -- if not string.sub(line, 1, 1) == " " then