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.
141ad72d97Marshall Bowers committed on 4/11/2025, 10:01:25 PM· committed by GitHubparenta5fe6d1
4 files changedLine totals unavailable