mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
msgpack.vim: require python3 on Windows
timestamp.strftime('%s') workaround only works on unix. ref: https://github.com/neovim/neovim/pull/8371#discussion_r186311766
This commit is contained in:
parent
cb8ea55d71
commit
966e7abc49
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user