mirror of
https://github.com/zed-industries/zed.git
synced 2026-11-22 00:20:23 +01:00
c62210b178
When copilot is not being used as the edit prediction provider and you open a fresh Zed instance, we don’t run the copilot language server. This is because copilot chat is purely handled via oauth token and doesn’t require the language server. In this case, if you click sign out, instead of asking the language server to sign out (which isn’t running), we can manually clear the config directory, which contains the oauth tokens. We already watch this directory, and if the token is not found, we update the sign-in status. Release Notes: - N/A