fix(zed): restore highlights.scm - Zed requires local query files

Zed extensions do not automatically use queries from fetched grammars.
They require local query files in languages/<lang>/ directory.

Restored highlights.scm by copying from tree-sitter-storybook/queries/.
The regression test ensures this stays in sync with the source of truth.

Also updated grammar revision to 0590c13 (latest remote commit).
This commit is contained in:
2026-02-17 00:11:37 +00:00
parent 87e515098a
commit 583cd485b9
2 changed files with 163 additions and 1 deletions

View File

@@ -8,7 +8,7 @@ repository = "https://github.com/r3t-studios/storybook"
[grammars.storybook]
repository = "https://github.com/r3t-studios/storybook"
rev = "37793cea0d84be1f004da2c80fce7bd513eb5f7b"
rev = "0590c133c73434a9d2afbe2df663fbb66a86c5af"
path = "tree-sitter-storybook"
[language_servers.storybook-lsp]