# git_ui: Add Git Panel settings \(\#23132\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/78fd5b5f02101e2ed0a98e0390b4f048bf4d1dec)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 78fd5b5f02101e2ed0a98e0390b4f048bf4d1dec

Requested commit: 78fd5b5f02101e2ed0a98e0390b4f048bf4d1dec

Commit: 78fd5b5f02101e2ed0a98e0390b4f048bf4d1dec

Tree: a0b0ac1ad2e52428224ca54426b6d10104b4f314

Author: Nate Butler

Committer: GitHub

## Message

````
git_ui: Add Git Panel settings (#23132)

This PR adds settings for the Git Panel.

The new settings include:

| Setting | Description | Default |
|---------|-------------|---------|
| `git_panel.button` | Toggle visibility of the Git Panel button in the
status bar | `true` |
| `git_panel.dock` | Choose where to dock the Git Panel | `"left"` |
| `git_panel.default_width` | Set the default width of the Git Panel in
pixels | `360` |
| `git_panel.status_style` | Select how Git status is displayed |
`"icon"` |
| `git_panel.scrollbar.show` | Configure scrollbar behavior | Inherits
from editor settings |

Example usage:

```json
"git_panel": {
  "button": true,
  "dock": "left",
  "default_width": 360,
  "status_style": "icon",
  "scrollbar": {
    "show": "auto"
  }
}
```

Release Notes:

- N/A
````

## Parents

- [a67709629bc5f887d95f0d9a4f8f1134167b3da3](https://git.cafe/gitcafe/zed/commit/a67709629bc5f887d95f0d9a4f8f1134167b3da3?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/78fd5b5f02101e2ed0a98e0390b4f048bf4d1dec?format=markdown)
