# languages: go.mod/go.work fix highlighting no longer working \(\#7705\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 04fc0dde1a79d669d54af27a49d8337aad56cccb

Requested commit: 04fc0dde1a79d669d54af27a49d8337aad56cccb

Commit: 04fc0dde1a79d669d54af27a49d8337aad56cccb

Tree: 611005ce3b339c3729b4b2aae5487ad822817bd6

Author: Derrick Laird

Committer: GitHub

## Message

```
languages: go.mod/go.work fix highlighting no longer working (#7705)

At some point go.mod and go.work syntax highlighting quit working. Looks
like the grammars weren't matching for some reason and I'm not sure how
they were working originally.

Not sure if we could write a test to make sure the tree-sitter queries
are being loaded for the grammars or not but seems like something that
could be useful to avoid something like this in the future.
```

## Parents

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

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