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.
This commit is contained in:
Marshall Bowers
2025-04-11 22:01:25 +00:00
committed by GitHub
parent a5fe6d1e61
commit 141ad72d97
4 changed files with 5 additions and 4 deletions
Generated
+1 -1
View File
@@ -4979,10 +4979,10 @@ dependencies = [
"async-tar",
"async-trait",
"collections",
"convert_case 0.8.0",
"fs",
"futures 0.3.31",
"gpui",
"heck 0.5.0",
"http_client",
"language",
"log",