1
0
mirror of https://github.com/Llewellynvdm/starship.git synced 2024-06-25 19:32:33 +00:00

docs: Reorder terraform option rows for consistency

This commit is contained in:
Matan Kushner 2019-12-08 20:43:36 -05:00
parent 44b37a7bac
commit 60a1319524
No known key found for this signature in database
GPG Key ID: 4B98C3A8949CA8A4
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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,
}
}
}