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 |
|
||||
| -------------- | ------------- | ----------------------------------------------------------- |
|
||||
| `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. |
|
||||
| `disabled` | `false` | Disables the `terraform` module. |
|
||||
| `show_version` | `false` | Shows the terraform version. Very slow on large workspaces. |
|
||||
|
||||
### Example
|
||||
|
||||
|
|
|
@ -8,9 +8,9 @@ pub struct TerraformConfig<'a> {
|
|||
pub symbol: SegmentConfig<'a>,
|
||||
pub workspace: SegmentConfig<'a>,
|
||||
pub version: SegmentConfig<'a>,
|
||||
pub show_version: bool,
|
||||
pub style: Style,
|
||||
pub disabled: bool,
|
||||
pub show_version: bool,
|
||||
}
|
||||
|
||||
impl<'a> RootModuleConfig<'a> for TerraformConfig<'a> {
|
||||
|
@ -19,9 +19,9 @@ impl<'a> RootModuleConfig<'a> for TerraformConfig<'a> {
|
|||
symbol: SegmentConfig::new("💠 "),
|
||||
workspace: SegmentConfig::default(),
|
||||
version: SegmentConfig::default(),
|
||||
show_version: false,
|
||||
style: Color::Fixed(105).bold(),
|
||||
disabled: false,
|
||||
show_version: false,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue