Add is_via_ssh field to editor events (#18837)

Release Notes:

- N/A
This commit is contained in:
Joseph T. Lyons 2024-10-08 10:30:04 -04:00 committed by GitHub
parent dd44168cad
commit 4c7a6f5e7f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 9 additions and 1 deletions

View file

@ -117,6 +117,8 @@ pub struct EditorEvent {
pub copilot_enabled: bool,
/// Whether the user has copilot enabled for the language of the file opened or saved
pub copilot_enabled_for_language: bool,
/// Whether the client is editing a local file or a remote file via SSH
pub is_via_ssh: bool,
}
/// Deprecated since Zed v0.137.0 (2024-05-29). Replaced by InlineCompletionEvent.