docs: Reorder terraform option rows for consistency
This commit is contained in:
parent
44b37a7bac
commit
60a1319524
|
@ -1004,9 +1004,9 @@ The module will be shown if any of the following conditions are met:
|
||||||
| Variable | Default | Description |
|
| Variable | Default | Description |
|
||||||
| -------------- | ------------- | ----------------------------------------------------------- |
|
| -------------- | ------------- | ----------------------------------------------------------- |
|
||||||
| `symbol` | `"💠 "` | The symbol used before displaying the terraform workspace. |
|
| `symbol` | `"💠 "` | The symbol used before displaying the terraform workspace. |
|
||||||
|
| `show_version` | `false` | Shows the terraform version. Very slow on large workspaces. |
|
||||||
| `style` | `"bold 105"` | The style for the module. |
|
| `style` | `"bold 105"` | The style for the module. |
|
||||||
| `disabled` | `false` | Disables the `terraform` module. |
|
| `disabled` | `false` | Disables the `terraform` module. |
|
||||||
| `show_version` | `false` | Shows the terraform version. Very slow on large workspaces. |
|
|
||||||
|
|
||||||
### Example
|
### Example
|
||||||
|
|
||||||
|
|
|
@ -8,9 +8,9 @@ pub struct TerraformConfig<'a> {
|
||||||
pub symbol: SegmentConfig<'a>,
|
pub symbol: SegmentConfig<'a>,
|
||||||
pub workspace: SegmentConfig<'a>,
|
pub workspace: SegmentConfig<'a>,
|
||||||
pub version: SegmentConfig<'a>,
|
pub version: SegmentConfig<'a>,
|
||||||
|
pub show_version: bool,
|
||||||
pub style: Style,
|
pub style: Style,
|
||||||
pub disabled: bool,
|
pub disabled: bool,
|
||||||
pub show_version: bool,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<'a> RootModuleConfig<'a> for TerraformConfig<'a> {
|
impl<'a> RootModuleConfig<'a> for TerraformConfig<'a> {
|
||||||
|
@ -19,9 +19,9 @@ impl<'a> RootModuleConfig<'a> for TerraformConfig<'a> {
|
||||||
symbol: SegmentConfig::new("💠 "),
|
symbol: SegmentConfig::new("💠 "),
|
||||||
workspace: SegmentConfig::default(),
|
workspace: SegmentConfig::default(),
|
||||||
version: SegmentConfig::default(),
|
version: SegmentConfig::default(),
|
||||||
|
show_version: false,
|
||||||
style: Color::Fixed(105).bold(),
|
style: Color::Fixed(105).bold(),
|
||||||
disabled: false,
|
disabled: false,
|
||||||
show_version: false,
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue