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:
parent
a5fe6d1e61
commit
141ad72d97
4 changed files with 5 additions and 4 deletions
|
@ -443,6 +443,7 @@ futures-lite = "1.13"
|
|||
git2 = { version = "0.20.1", default-features = false }
|
||||
globset = "0.4"
|
||||
handlebars = "4.3"
|
||||
heck = "0.5"
|
||||
heed = { version = "0.21.0", features = ["read-txn-no-tls"] }
|
||||
hex = "0.4.3"
|
||||
html5ever = "0.27.0"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue