From 966e7abc4960746b4dde618807fb5516d162ae2d Mon Sep 17 00:00:00 2001 From: "Justin M. Keyes" Date: Thu, 10 May 2018 14:09:54 +0200 Subject: [PATCH] msgpack.vim: require python3 on Windows timestamp.strftime('%s') workaround only works on unix. ref: https://github.com/neovim/neovim/pull/8371#discussion_r186311766 --- runtime/autoload/msgpack.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"