# extension: Use \`heck\` instead of \`convert_case\` for snake_case check \(\#28608\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 141ad72d9794a78c6b107cb1c3e920e77aa6c039

Requested commit: 141ad72d9794a78c6b107cb1c3e920e77aa6c039

Commit: 141ad72d9794a78c6b107cb1c3e920e77aa6c039

Tree: 560007d2b890fa515a6716b762428cf1b08c57a3

Author: Marshall Bowers

Committer: GitHub

## Message

```
extension: Use `heck` instead of `convert_case` for snake_case check (#28608)

This PR updates the snake_case check for grammar names to use `heck`
instead of `convert_case`.

`heck` correctly handles values like `d2`.

Fixes https://github.com/zed-industries/zed/issues/28583.

Release Notes:

- Updated snake_case check for grammar names in extensions.
```

## Parents

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

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