diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2018-05-10 14:09:54 +0200 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2018-05-10 15:56:13 +0200 |
commit | 966e7abc4960746b4dde618807fb5516d162ae2d (patch) | |
tree | 41166e69b92aae8c7bf23557feda641af85e6909 | |
parent | cb8ea55d7174c44ece72098eb853aacd608a0aa3 (diff) | |
download | rneovim-966e7abc4960746b4dde618807fb5516d162ae2d.tar.gz rneovim-966e7abc4960746b4dde618807fb5516d162ae2d.tar.bz2 rneovim-966e7abc4960746b4dde618807fb5516d162ae2d.zip |
msgpack.vim: require python3 on Windows
timestamp.strftime('%s') workaround only works on unix.
ref: https://github.com/neovim/neovim/pull/8371#discussion_r186311766
-rw-r--r-- | runtime/autoload/msgpack.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/autoload/msgpack.vim b/runtime/autoload/msgpack.vim index 6b44af56d5..09c99c940d 100644 --- a/runtime/autoload/msgpack.vim +++ b/runtime/autoload/msgpack.vim @@ -40,7 +40,7 @@ function s:msgpack_init_python() abort return s:msgpack_python_type endif let s:msgpack_python_initialized = 1 - for suf in ['', '3'] + for suf in (has('win32') ? ['3'] : ['', '3']) try execute 'python' . suf \. "\n" |