diff options
author | Dimitar Gyurov | 2023-03-10 22:42:42 +0000 |
---|---|---|
committer | GitHub | 2023-03-10 22:42:42 +0000 |
commit | 1661e4b5e1d8ebfef28f798fcb86ba2656373ba0 (patch) | |
tree | 1c3d36d81a8fe5fafd66b6b61bc5253883ed1516 /book | |
parent | 98415f288ffa043520b0c85bc4464dc44b85f948 (diff) |
Add a version-control statusline element (#5682)
Diffstat (limited to 'book')
-rw-r--r-- | book/src/configuration.md | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/book/src/configuration.md b/book/src/configuration.md index 4b62ca52..e698646b 100644 --- a/book/src/configuration.md +++ b/book/src/configuration.md @@ -111,6 +111,7 @@ The following statusline elements can be configured: | `position-percentage` | The cursor position as a percentage of the total number of lines | | `separator` | The string defined in `editor.statusline.separator` (defaults to `"│"`) | | `spacer` | Inserts a space between elements (multiple/contiguous spacers may be specified) | +| `version-control` | The current branch name or detached commit hash of the opened workspace | ### `[editor.lsp]` Section |