Skip to content

Commit 87cf006

Browse files
authored
Fix promisify error in AgendaTodosView when changing todo state (#543)
1 parent 070f758 commit 87cf006

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lua/orgmode/agenda/init.lua

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,8 @@ function Agenda:_remote_edit(opts)
422422
self.win_width
423423
)
424424
else
425-
self.content[line] = AgendaTodosView.generate_todo_item(headline, item.longest_category, item.line)
425+
self.content[line] =
426+
AgendaTodosView.generate_todo_item(headline, item.longest_category, item.line, self.win_width)
426427
end
427428
return self:_render(true)
428429
end)

0 commit comments

Comments
 (0)