kovisoft / slimv

Official mirror of Slimv versions released on vim.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Update README to reflect #46?

phlummox opened this issue · comments

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.

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 12a120e

Cheers! Works for me.