SimpylFold
SimpylFold copied to clipboard
Auto close fold include current line after delete line
Hi, @tmhedberg thanks for this pluginnn!
And sometimes when I in normal mode delete a line or paste from clipboard, the fold which current line belongs to will auto close. What's most wired is, if I undo and redo that operation, it didn't reproduced.
So wanna know isn't it just happen to me?
Can you provide a small example of text that exhibits this behavior?
Also, what is your foldlevel
set to?
@tmhedberg thanks for your reply!
I not set foldlevel
in vimrc.
And sorry it's hard to reproduce it. Same context but fold not close next time.
And I found a autocmd in :autocmd
SimpylFold TextChanged
<buffer=1>
call SimpylFold#Recache()
Let me know if you discover a reproducible case. Otherwise, it will be difficult to help.
Yeah, will post it here as soon as I find one.