comment-box.nvim icon indicating copy to clipboard operation
comment-box.nvim copied to clipboard

Infinite loop when calling :CBlbox

Open balazser opened this issue 3 years ago • 0 comments

Hi @LudoPinelli, I noticed when I want to comment out in a box the following snippets and in some other cases comment-box.nvim and nvim gets frozen. Probably caused by an infinite loop. Reproduce call :CBlbox on line on this code snippet:

        #  using imperative code
        #  ────────────────────────────────────────────────────────────
        i = 0
        for c in range(3):
            j = i + cnt[c]
            nums[i:j] = [c] * cnt[c]
            i = j

balazser avatar May 29 '22 18:05 balazser