Uses the wakatime-ls to receive edit events from Zed and send heartbeats to WakaTime by wakatime-cli.
Search for "wakatime" in the "Extensions" page and click "Install".

In order to authenticate with the wakatime-cli, the language server needs to know your API token. Here are two ways to set the lsp.
Create a file named .wakatime.cfg in your $HOME directory.
[settings]
api_key = your-api-keyGo through up wakatime-cli's documentation for more options.
Open Zed's settings file, then add your api key.
"lsp": {
"wakatime": {
"initialization_options": {
"api-key": "Your api key"
}
}
}This plugin has been thoroughly tested only on macOS. If you encounter any issues on other systems, please submit an issue or a pull request.