# Fix the \`git_gutter_width\` setting \(\#62704\) · gitcafe/zed

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

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

Visibility: public

Requested revision: a7d74150ac7a663fdaa01ec5177e303baaf6c331

Requested commit: a7d74150ac7a663fdaa01ec5177e303baaf6c331

Commit: a7d74150ac7a663fdaa01ec5177e303baaf6c331

Tree: 7d9b953428466cddbad4a15a2246596bf07c78d2

Author: afdul

Committer: GitHub

## Message

```
Fix the `git_gutter_width` setting (#62704)

# Objective

- Fixes #62645
## Solution
Since the default value isnt constant.It now has two options 1) Default
2) custom where user inputs a value.

## Self-Review Checklist:

- [x] I've reviewed my own diff for quality, security, and reliability
- [ ] Unsafe blocks (if any) have justifying comments
- [x] The content adheres to Zed's UI standards
([UX/UI](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)
and
[icon](https://github.com/zed-industries/zed/blob/main/crates/icons/README.md)
guidelines)
- [ ] Tests cover the new/changed behavior
- [ ] Performance impact has been considered and is acceptable

## Showcase
<img width="798" height="361" alt="Screenshot 2026-08-16 at 4 29 54 PM"
src="https://github.com/user-attachments/assets/0af302f6-4733-4a23-9e93-1f9d98dd772f"
/>

<img width="798" height="92" alt="Screenshot 2026-08-16 at 4 30 13 PM"
src="https://github.com/user-attachments/assets/2c87c2a3-2947-45c7-8495-f6a0b36dd793"
/>

Release Notes:

- Added git_gutter_width setting to the Settings UI with default
(font-size-scaled) and custom (fixed pixel width) options

---------

Co-authored-by: Abdul Rafey Ahmed <abdul.r@hyperverge.co>
Co-authored-by: MrSubidubi <finn@zed.dev>
```

## Parents

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

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