From f440247537f0b44ad52d64936445b3817e55902a Mon Sep 17 00:00:00 2001 From: Sienna Meridian Satterwhite Date: Sat, 14 Feb 2026 16:41:37 +0000 Subject: [PATCH] fix(tree-sitter): correct any_type highlighting in queries Changed highlights.scm to use (any_type) node type instead of the string literal "any". The grammar defines any as any_type rule, not as a bare keyword string. --- tree-sitter-storybook/queries/highlights.scm | 4 +++- zed-storybook/grammars/storybook | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/tree-sitter-storybook/queries/highlights.scm b/tree-sitter-storybook/queries/highlights.scm index b4a9eaf..c75c7ac 100644 --- a/tree-sitter-storybook/queries/highlights.scm +++ b/tree-sitter-storybook/queries/highlights.scm @@ -48,9 +48,11 @@ "remove" "append" "is" - "any" ] @keyword.special +; any type keyword +(any_type) @keyword.special + ; Boolean literals [ "true" diff --git a/zed-storybook/grammars/storybook b/zed-storybook/grammars/storybook index 8033297..26bbef5 160000 --- a/zed-storybook/grammars/storybook +++ b/zed-storybook/grammars/storybook @@ -1 +1 @@ -Subproject commit 80332971b8a3a149a55f2cbad5a788917732df20 +Subproject commit 26bbef58d3ade6ce6a3bc0b073102a019fa8f113