# Fix bracket captures for Go, C, C\+\+, and Zig \(\#6784\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 3c3cdecdff23f96fa610819e892f2d198cd2a99a

Requested commit: 3c3cdecdff23f96fa610819e892f2d198cd2a99a

Commit: 3c3cdecdff23f96fa610819e892f2d198cd2a99a

Tree: f3927f20720fc4aaac7f3b9a904a901344a50036

Author: Thorsten Ball

Committer: GitHub

## Message

```
Fix bracket captures for Go, C, C++, and Zig (#6784)

This fixes #6702 by adding the captures for Go, C, C++, and Zig.

Witnessed-by: @dammerung2718  <dammerung2718@icloud.com>

Release Notes:

- Fixed matching-bracket navigation via `%` in Vim mode not working for
`(` in Go, C, C++, and not working for any in Zig.
([#6702](https://github.com/zed-industries/zed/issues/6702))
```

## Parents

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

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

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