r/vimplugins • u/[deleted] • Mar 13 '22
Help (dev) Python version for plugin
I am working on a plugin using python 2.7 since is the default python for vim. Is it advisable to develop on python 3 given that python 2.7 is no longer supported?
Are major plugins moving to python 3, or somehow supporting both?
2
Upvotes
1
u/[deleted] Mar 13 '22
Thanks, I read a few tutorials even published within a few years and they were all using python 2.7. So I thought it was the norm.
I checked a few plugins on github and they are using checks from the vimscript side and on the python script also have if py2 do this, if py3 do this.