gundo.vim icon indicating copy to clipboard operation
gundo.vim copied to clipboard

Change python version check

Open natemaia opened this issue 7 years ago • 2 comments

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

natemaia avatar Oct 31 '18 05:10 natemaia

:+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 avatar Jul 23 '21 21:07 unclechu

@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.

natemaia avatar Jul 25 '21 18:07 natemaia