Skip to content

Commit a4b2830

Browse files
committed
Fix inner-block selection with counter
1 parent ff49499 commit a4b2830

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

autoload/julia_blocks.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -696,7 +696,7 @@ function! s:find_block(current_mode)
696696
endfunction
697697

698698
function! s:repeated_find(ai_mode)
699-
let repeat = b:jlblk_count + (a:ai_mode == 'i' && v:count1 > 1 ? 1 : 0)
699+
let repeat = b:jlblk_count + (a:ai_mode == 'i' && b:jlblk_count > 1 ? 1 : 0)
700700
for c in range(repeat)
701701
let current_mode = (c < repeat - 1 ? 'a' : a:ai_mode)
702702
let ret_find_block = s:find_block(current_mode)

0 commit comments

Comments
 (0)