mirror of
https://github.com/starship/starship.git
synced 2024-11-22 00:04:05 +01:00
docs(config, preset): fix Buf module config docs and No Empty Icons preset (#6200)
* docs(config): Buf module is shown even if `buf` CLI is not installed * docs(preset): make Buf format string consistent with other modules
This commit is contained in:
parent
558b28b604
commit
c5fde1734d
@ -579,10 +579,7 @@ discharging_symbol = '💦 '
|
||||
|
||||
## Buf
|
||||
|
||||
The `buf` module shows the currently installed version of [Buf](https://buf.build). By default, the module is shown if all of the following conditions are met:
|
||||
|
||||
- The [`buf`](https://github.com/bufbuild/buf) CLI is installed.
|
||||
- The current directory contains a [`buf.yaml`](https://docs.buf.build/configuration/v1/buf-yaml), [`buf.gen.yaml`](https://docs.buf.build/configuration/v1/buf-gen-yaml), or [`buf.work.yaml`](https://docs.buf.build/configuration/v1/buf-work-yaml) configuration file.
|
||||
The `buf` module shows the currently installed version of [Buf](https://buf.build). By default, the module is shown if the current directory contains a [`buf.yaml`](https://docs.buf.build/configuration/v1/buf-yaml), [`buf.gen.yaml`](https://docs.buf.build/configuration/v1/buf-gen-yaml), or [`buf.work.yaml`](https://docs.buf.build/configuration/v1/buf-work-yaml) configuration file.
|
||||
|
||||
### Options
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
[buf]
|
||||
format = '(with [$symbol$version ]($style))'
|
||||
format = '(with [$symbol($version )]($style))'
|
||||
|
||||
[bun]
|
||||
format = '(via [$symbol($version )]($style))'
|
||||
|
Loading…
Reference in New Issue
Block a user