zsugabubus / vim-paperplane

Show parent indentations in preview window
GNU General Public License v3.0
2 stars 0 forks source link

Pasting while paperplane is active hangs neovim #3

Closed hanspinckaers closed 4 years ago

hanspinckaers commented 4 years ago

First of all thanks for the work, it's a nice speedy plugin.

However, I cannot seem to paste anymore with paperplane active. It looks a bit like it gets into an infinite loop. I have to close my terminal window.

Cheers, Hans

zsugabubus commented 4 years ago

Errrr. Sorry for the inconveniences.

Could you help me out with some test files?

hanspinckaers commented 4 years ago

I tested it out a bit more. It seems to happen if I paste something with a colon at the end:

I started with an empty file (test.py) and tried to paste:

def test_func():
    pass

This works (but is invalid syntax):

def test_func()
    pass