diff options
Diffstat (limited to 'autoload/todo')
| -rw-r--r-- | autoload/todo/motion.vim | 9 | 
1 files changed, 8 insertions, 1 deletions
| diff --git a/autoload/todo/motion.vim b/autoload/todo/motion.vim index 3ebab2d..96877a9 100644 --- a/autoload/todo/motion.vim +++ b/autoload/todo/motion.vim @@ -2,8 +2,15 @@ let s:INCOMPLETE_MATCHER = '^\s*[\-_!] '  function! todo#motion#NextIncomplete() +	let cnt = v:count1 +  	normal! m' -	call search(s:INCOMPLETE_MATCHER) + +	let i = 0 +	while i < cnt +		call search(s:INCOMPLETE_MATCHER) +		let i += 1 +	endwhile  endfunction | 
