# Don't add a quick actions toolbar item for non-editor views · gitcafe/zed

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

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

Visibility: public

Requested revision: bb448b91d5404fdab1b86bda34d7ad68882b2001

Requested commit: bb448b91d5404fdab1b86bda34d7ad68882b2001

Commit: bb448b91d5404fdab1b86bda34d7ad68882b2001

Tree: 78b2ba99c6f0e80a58bbf34fd468966e49b51e3e

Author: Max Brunsfeld

Committer: Max Brunsfeld

## Message

```
Don't add a quick actions toolbar item for non-editor views

Rather than adding primary toolbar item that renders as empty,
don't add an item at all. This prevents spurious spacing from
being added after other primary toolbar items.

```

## Parents

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

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