Closed samf closed 4 years ago
I should have mentioned: my current vim is version 8.2.1350
.
If I comment out line 496:
let b:anyfold_commentlines[changed[0]-1 : changed[1]-1] = s:MarkCommentLines(changed[0], changed[1])
then the problem goes away.
But it looks to me like your [
s match with your ]
s. I can't see the flaw, but I don't speak vim either. Again, maybe the problem is not in your code, but in recent versions of vim itself.
Confirming that I'm also receiving this error, also version 1350. Reverting to version 1300 fixes it for me.
Looks like 1400 (released today on Mac Homebrew) fixes it. 😄
Thanks a lot for letting me know, this can be closed then.
When I run with
autocmd FileType * AnyFoldActivate
in my vimrc, I get the following error after modifying the buffer:This has started happening only recently. Strangely, you haven't modified vim-anyfold recently. I've tried removing each of my other plugins in turn, and the problem remains. Perhaps a newer version of vim is causing this?