# git_ui: Fix indent guides not showing for file buffers in the commit view \(\#44166\) · gitcafe/zed

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

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

Visibility: public

Requested revision: bdb8caa42e88c670be5278dab5819e770b92a133

Requested commit: bdb8caa42e88c670be5278dab5819e770b92a133

Commit: bdb8caa42e88c670be5278dab5819e770b92a133

Tree: 8fd0fa554339546a621b7a8cfae9736abc053061

Author: Danilo Leal

Committer: GitHub

## Message

```
git_ui: Fix indent guides not showing for file buffers in the commit view (#44166)

Follow up to https://github.com/zed-industries/zed/pull/44162 where my
strategy for not displaying the indent guides only in the commit message
was wrong given I ended up... disabling indent guides for all the
buffers. This PR adds a new method to the editor where we can disable it
for a specific buffer ID following the pattern of
`disable_header_for_buffer`.

Release Notes:

- N/A
```

## Parents

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

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