craigemery / vim-autotag

Automatically discover and "properly" update ctags files on save
255 stars 29 forks source link

Drop Python 2 #28

Closed craigemery closed 4 years ago

craigemery commented 4 years ago

I have all this code to support Python 2.4 etc and I'm quite of the opinion that I should only support Python 3.

eupharis commented 4 years ago

@craigemery hear hear!

Just FYI dropping Python2 would fix a bug I was having using your library. When I upgraded to vim8, your (awesome) library broke and I finally just got around to figuring out why. Turns out my vim8 has python3 support but no python2.

image

I just hacked at the autotag.vim locally to prefer python3 and now it works again for me. But there could be others in the same boat and dropping python2 support would fix it for them.

eupharis commented 4 years ago

Woops false alarm. That "has" check in autotag.vim is actually working correctly and this plugin works great as-is on a vim install with python3 support but no python2. No idea why I was having issues before.

craigemery commented 4 years ago

RIP Python 2 support