So I recently made the jump over to VIM and I'm still testing out all sorts of plugins. Now, I installed snipMate
and the snippets work really great, but I'm encountering a strange bug.
When doing undo / redo
the buffer ends up in pretty strange states.
Before the undo (just some random test coding):
conn.on('foo', function(bla, bar, test, foo) {
conn.foo.hasOwnProperty('test');
if (true) {
}
});
After the undo:
conn.on('foo', function(arguments) {
conn.foo.hasOwnProperty(
if
});
As you can see it's completely broken, so the question is, is there any magic I can sprinkle onto the plugin to prevent it from destroying my history? I don't have problem with hacking around in snipMate
itself.
I already removed all plugins except for snipMate
to make sure there are no conflicts.
I'm using VIM 7.2, here is my .vimrc (yes needs some cleanup...)