I just tried this cool piece of code and run into some bug. It seems that it's possible that the CursorMoved event is called before all other events (don't ask why...). If that happens b:matchedlines is undefined and pyflakes-vim run into a runtime error.
I took a different approach and released version 1.56 with
kevinw/pyflakes-vim@f12c0881f83964e35b2d3ad2299d111cec53dd9f - so that we don't have to run PyFlakes everytime the cursor moves. Definitely let me know if it fixes your problem!
I took a different approach and released version 1.56 with
kevinw/pyflakes-vim@f12c0881f83964e35b2d3ad2299d111cec53dd9f - so that we don't have to run PyFlakes everytime the cursor moves. Definitely let me know if it fixes your problem!
Closing for now.
Works quite well, thanks!