Skip to content

Commit

Permalink
Fix python in msys2
Browse files Browse the repository at this point in the history
  • Loading branch information
moeshin committed Jan 6, 2022
1 parent b1a6408 commit c1c60ca
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion plugin/wakatime.vim
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,11 @@ let s:VERSION = '9.0.1'
\ 'callback': {channel, output -> s:AsyncInstallHandler(output)}})
elseif s:nvim_async
if s:IsWindows()
let job_cmd = cmd
if &shell =~ 'cmd'
let job_cmd = cmd
else
let job_cmd = [&shell, '-c', s:JoinArgs(cmd)]
endif
else
let job_cmd = [&shell, &shellcmdflag, s:JoinArgs(cmd)]
endif
Expand Down

0 comments on commit c1c60ca

Please sign in to comment.