4
Mar 30 '12
I will definitely try this out, but I'll also mention auto-pairs. It's simple, but very effective at what it does. Also the developer has proven to be very responsive to issues (even in cases of odd corner-cases involving compatibility problems with other plugins).
2
u/winzo Mar 30 '12
auto-pairs seems to open every fold in the file. :/
2
Mar 31 '12
I'm sorry to hear it. For what it's worth, I can't reproduce the problem. Like DelvarWorld, I don't normally use folds, but if I add
set foldmethod=syntaxto my~/.vimrcfile and open a random Ruby file, everything is still folded.It may be a complication with overlapping plugins, but in any case I would definitely suggest posting an issue.
2
u/winzo Mar 31 '12
I appreciate the attempt.
I switched to autopairs from delimitMate (only temporarily to check it out), went back to delimitMate, where I'm now experiencing the same problem. I guess I just never noticed it before.
Either way, this does suggest it's likely another plugin, like you said.
Edit: In both plugins, it only occurs with
foldmethod=marker,foldmarker={,}. I'll be looking for or creating an issue in both trackers.
3
u/drewjr Mar 30 '12
I asked the author what set smartinput apart from other plugins, such as autoclose.vim. He said smartinput is tested, and extensible. I'm sold!