mirror of
https://github.com/starship/starship.git
synced 2026-06-23 02:05:51 +07:00
fix(buf): fix spacing & harmonize docs with actual configuration (#4450)
* fix(buf): add whitespace after version string * fix: update config schema * fix: config version and bison emoji * fix: update documentation format * fix: dprint * fix: config schema
This commit is contained in:
+15
-15
@@ -498,24 +498,24 @@ The `buf` module shows the currently installed version of [Buf](https://buf.buil
|
||||
|
||||
### Options
|
||||
|
||||
| Option | Default | Description |
|
||||
| ------------------- | ---------------------------------------------------------- | ----------------------------------------------------- |
|
||||
| `format` | `'with [$symbol($version \(Buf $buf_version\) )]($style)'` | The format for the `buf` module. |
|
||||
| `version_format` | `"v${raw}"` | The version format. |
|
||||
| `symbol` | `"🦬 "` | The symbol used before displaying the version of Buf. |
|
||||
| `detect_extensions` | `[]` | Which extensions should trigger this module. |
|
||||
| `detect_files` | `["buf.yaml", "buf.gen.yaml", "buf.work.yaml"]` | Which filenames should trigger this module. |
|
||||
| `detect_folders` | `[]` | Which folders should trigger this modules. |
|
||||
| `style` | `"bold blue"` | The style for the module. |
|
||||
| `disabled` | `false` | Disables the `elixir` module. |
|
||||
| Option | Default | Description |
|
||||
| ------------------- | ----------------------------------------------- | ----------------------------------------------------- |
|
||||
| `format` | `"with [$symbol($version )]($style)"` | The format for the `buf` module. |
|
||||
| `version_format` | `"v${raw}"` | The version format. |
|
||||
| `symbol` | `"🦬 "` | The symbol used before displaying the version of Buf. |
|
||||
| `detect_extensions` | `[]` | Which extensions should trigger this module. |
|
||||
| `detect_files` | `["buf.yaml", "buf.gen.yaml", "buf.work.yaml"]` | Which filenames should trigger this module. |
|
||||
| `detect_folders` | `[]` | Which folders should trigger this modules. |
|
||||
| `style` | `"bold blue"` | The style for the module. |
|
||||
| `disabled` | `false` | Disables the `elixir` module. |
|
||||
|
||||
### Variables
|
||||
|
||||
| Variable | Example | Description |
|
||||
| ------------- | -------- | ------------------------------------ |
|
||||
| `buf_version` | `v1.0.0` | The version of `buf` |
|
||||
| `symbol` | | Mirrors the value of option `symbol` |
|
||||
| `style`* | | Mirrors the value of option `style` |
|
||||
| Variable | Example | Description |
|
||||
| --------- | -------- | ------------------------------------ |
|
||||
| `version` | `v1.0.0` | The version of `buf` |
|
||||
| `symbol` | | Mirrors the value of option `symbol` |
|
||||
| `style`* | | Mirrors the value of option `style` |
|
||||
|
||||
*: This variable can only be used as a part of a style string
|
||||
|
||||
|
||||
Reference in New Issue
Block a user