Change python version check
Hello,
I run neovim without python2 support, currently without setting g:gundo_prefer_python3 I get an error regarding the import of the neovim module (to be expected), this removes the need to set the above mentioned variable when running with only python3 support, while otherwise keeping the same default behaviour.
Cheers, and thank you for creating such an awesome plugin.
Nathaniel
:+1: I would prefer Python 3 be selected by default. At some point the plugin stopped working for me on NixOS. It turned out that Python 2 support was dropped:
https://github.com/NixOS/nixpkgs/blob/953909341ea62291a4c4a9483214f9a12d58ec99/pkgs/applications/editors/neovim/wrapper.nix#L50
I was happy to find this MR and this option g:gundo_prefer_python3 to see that I can make the plugin work again. But it would be better to change default behavior.
@unclechu I've since switched to https://github.com/mbbill/undotree which is basically the same as gundo but a bit more simple and no conflicting settings.