Skip to content

Commit 4faeea5

Browse files
committed
When missing api key, warn instead of block
1 parent 285c2e4 commit 4faeea5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

plugin/wakatime.vim

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -337,8 +337,7 @@ EOF
337337
endif
338338

339339
if !found_api_key
340-
call s:PromptForApiKey()
341-
echo "[WakaTime] Setup complete! Visit https://wakatime.com to view your coding activity."
340+
echoerr '[WakaTime] Missing api key. Type the Vim command :WakaTimeApiKey to complete the setup. Find your api key at https://wakatime.com/api-key'
342341
endif
343342

344343
let s:config_file_already_setup = s:true

0 commit comments

Comments
 (0)