maxdeviant / code-stats-ls

A language server for Code::Stats
MIT License
1 stars 0 forks source link

[Feature] Allow customizing API URL #1

Closed Nicd closed 3 months ago

Nicd commented 3 months ago

I use a custom API URL to pass my API calls through a local Python script that sends them to both the website and my local installation of it, for testing. Also some people might set up their own instance, in which case it's useful to be able to change the URL.

maxdeviant commented 3 months ago

This is available in v0.2.0 of the language server.

You can set the CODE_STATS_API_URL environment variable to override the API URL from https://codestats.net.

I may also look into making this configurable for the Zed extension via a setting.