kovisoft / slimv

Official mirror of Slimv versions released on vim.org
454 stars 60 forks source link

Update README to reflect #46? #102

Open phlummox opened 3 years ago

phlummox commented 3 years ago

The README currently suggests running the following in vim to check your Python version (and whether Python is enabled):

:python import sys; print(sys.version)

But this didn't work for me -- for recent versions of Vim on Debian and Ubuntu, for instance, the command is not :python, but :python3. From looking at #46, Slimv should work with either python 2 or 3, but it might be worth updating the README to reflect this. Happy to draft something and do a pull request if desired.

kovisoft commented 3 years ago

Oh, yes, you are absolutely right, this must be updated. Thanks for the feedback. I replaced the command with a new one that checks for the python main version, see commit https://github.com/kovisoft/slimv/commit/12a120efbe00d125157a395a3b3fe376e3c39151

phlummox commented 3 years ago

Cheers! Works for me.