Skip to content

Highlight and pin the contextual TODO grammar - #38

Merged
shunichironomura merged 1 commit into
mainfrom
feat/unfinished-nodes
Sep 12, 2026
Merged

shunichironomura merged 1 commit into
mainfrom
feat/unfinished-nodes

Conversation

@shunichironomura

Copy link
Copy Markdown
Member

Warning

This content was written by an AI agent and must be verified by a human developer. After human verification, this alert may be removed.

Summary

Companion to graphcal-lang/graphcal#1662 and graphcal-lang/tree-sitter-graphcal#65.

  • Highlight todo only inside the dedicated todo_definition syntax node.
  • Pin the grammar to the pushed companion revision that defines this node, avoiding a query/parser mismatch.

Merge the companion grammar PR first; retain the pinned grammar revision when integrating it.

Validation

Fresh cargo check --locked and cargo fmt --check passed. The Zed highlight query compiles and captures a TODO marker against the pinned grammar's Tree-sitter 0.27.0 parser.

AI assistance

  • AI used: yes — query, grammar pin, and validation.
  • Human review of AI-assisted code: pending.

Breaking changes

  • No breaking changes
  • Breaking changes; the breaking change label is applied

@shunichironomura
shunichironomura merged commit df61f29 into main Sep 12, 2026
2 checks passed
@shunichironomura
shunichironomura deleted the feat/unfinished-nodes branch September 12, 2026 09:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant