Store current release channel name in a file in the zed crate
This commit is contained in:
parent
1cdd3c0e28
commit
a4a8596a29
10 changed files with 80 additions and 36 deletions
|
@ -54,6 +54,14 @@ pub struct FeatureFlags {
|
|||
pub experimental_themes: bool,
|
||||
}
|
||||
|
||||
#[derive(Copy, Clone, PartialEq, Eq, Default)]
|
||||
pub enum ReleaseChannel {
|
||||
#[default]
|
||||
Dev,
|
||||
Preview,
|
||||
Stable,
|
||||
}
|
||||
|
||||
impl FeatureFlags {
|
||||
pub fn keymap_files(&self) -> Vec<&'static str> {
|
||||
vec![]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue