forked from luna/vim-rana-local
use python because some machines won't have python2 in PATH
This commit is contained in:
parent
cdb407f6d3
commit
49a7878712
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@ let s:VERSION = '0.2.5'
|
|||
let targetFile = a:last[2]
|
||||
endif
|
||||
if targetFile != ''
|
||||
let cmd = ['python2', s:plugin_directory . 'packages/wakatime/wakatime-cli.py']
|
||||
let cmd = ['python', s:plugin_directory . 'packages/wakatime/wakatime-cli.py']
|
||||
let cmd = cmd + ['--file', shellescape(targetFile)]
|
||||
let cmd = cmd + ['--time', printf('%f', a:time)]
|
||||
let cmd = cmd + ['--plugin', printf('vim-wakatime/%s', s:VERSION)]
|
||||
|
|
Loading…
Reference in a new issue