summaryrefslogtreecommitdiffstats
path: root/docs/config/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/config/README.md')
-rw-r--r--docs/config/README.md11
1 files changed, 10 insertions, 1 deletions
diff --git a/docs/config/README.md b/docs/config/README.md
index 84c3b2065..7b2218b1d 100644
--- a/docs/config/README.md
+++ b/docs/config/README.md
@@ -1120,7 +1120,6 @@ current directory.
| `staged` | `"+"` | The format of `staged` |
| `renamed` | `"ยป"` | The format of `renamed` |
| `deleted` | `"โœ˜"` | The format of `deleted` |
-| `show_sync_count` | `false` | Show ahead/behind count of the branch being tracked. |
| `style` | `"bold red"` | The style for the module. |
| `disabled` | `false` | Disables the `git_status` module. |
@@ -1174,6 +1173,16 @@ renamed = "๐Ÿ‘…"
deleted = "๐Ÿ—‘"
```
+Show ahead/behind count of the branch being tracked
+```toml
+# ~/.config/starship.toml
+
+[git_status]
+ahead = "โ‡ก${count}"
+diverged = "โ‡•โ‡ก${ahead_count}โ‡ฃ${behind_count}"
+behind = "โ‡ฃ${count}"
+```
+
## Golang
The `golang` module shows the currently installed version of Golang.