From 49a78787129d486fd1b9c855ee74a7df55b55ec3 Mon Sep 17 00:00:00 2001 From: Alan Hamlett Date: Thu, 25 Jul 2013 13:22:48 -0700 Subject: [PATCH] use python because some machines won't have python2 in PATH --- plugin/wakatime.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/wakatime.vim b/plugin/wakatime.vim index 70ed979..b71c2db 100644 --- a/plugin/wakatime.vim +++ b/plugin/wakatime.vim @@ -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)]