don't log time to git temporary files

This commit is contained in:
Alan Hamlett 2015-05-06 09:18:54 -07:00
parent 7da8bf757e
commit a490f364cd

View file

@ -72,7 +72,7 @@ let s:VERSION = '4.0.0'
if !filereadable(s:config_file)
let key = input("[WakaTime] Enter your wakatime.com api key: ")
if key != ''
call writefile(['[settings]', 'debug = false', printf("api_key = %s", key), 'hidefilenames = false', 'ignore =', ' COMMIT_EDITMSG$', ' TAG_EDITMSG$'], s:config_file)
call writefile(['[settings]', 'debug = false', printf("api_key = %s", key), 'hidefilenames = false', 'ignore =', ' COMMIT_EDITMSG$', ' PULLREQ_EDITMSG$', ' MERGE_MSG$', ' TAG_EDITMSG$'], s:config_file)
echo "[WakaTime] Setup complete! Visit http://wakatime.com to view your logged time."
endif