write more default config values to .wakatime.cfg INI file when creating
This commit is contained in:
parent
6049959405
commit
1803af8439
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ let s:VERSION = '3.0.1'
|
||||||
if !filereadable(expand("$HOME/.wakatime.cfg"))
|
if !filereadable(expand("$HOME/.wakatime.cfg"))
|
||||||
let key = input("[WakaTime] Enter your wakatime.com api key: ")
|
let key = input("[WakaTime] Enter your wakatime.com api key: ")
|
||||||
if key != ''
|
if key != ''
|
||||||
call writefile(['[settings]', printf("api_key = %s", key), 'ignore =', ' ^COMMIT_EDITMSG$', ' ^TAG_EDITMSG$'], expand("$HOME/.wakatime.cfg"))
|
call writefile(['[settings]', 'debug = false', printf("api_key = %s", key), 'hidefilenames = false', 'ignore =', ' ^COMMIT_EDITMSG$', ' ^TAG_EDITMSG$'], expand("$HOME/.wakatime.cfg"))
|
||||||
echo "[WakaTime] Setup complete! Visit http://wakatime.com to view your logged time."
|
echo "[WakaTime] Setup complete! Visit http://wakatime.com to view your logged time."
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Reference in a new issue