File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -190,7 +190,7 @@ function Agenda:is_opened()
190
190
end
191
191
192
192
function Agenda :advance_span (direction )
193
- return self :_call_view_and_render (' advance_span' , direction )
193
+ return self :_call_view_and_render (' advance_span' , direction , vim . v . count1 )
194
194
end
195
195
196
196
function Agenda :change_span (span )
Original file line number Diff line number Diff line change @@ -214,7 +214,9 @@ function AgendaView:build()
214
214
return self
215
215
end
216
216
217
- function AgendaView :advance_span (direction )
217
+ function AgendaView :advance_span (direction , count )
218
+ count = count or 1
219
+ direction = direction * count
218
220
local action = { [self .span ] = direction }
219
221
if type (self .span ) == ' number' then
220
222
action = { day = self .span * direction }
You can’t perform that action at this time.
0 commit comments