Highlight the contextual plots keyword in figure and layer fields - #39
Merged
Merged
Conversation
Merged
1 of 2 tasks
shunichironomura
force-pushed
the
highlight-plots-keyword
branch
from
October 2, 2026 04:11
226d525 to
7882f69
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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/tree-sitter-graphcal#80.
(figure_plots_field "plots" @keyword)and(layer_plots_field "plots" @keyword), soplotsis highlighted like the other contextual keywords (fn,bind,plugin,mark,encode).languages/graphcal/highlights.scmstays identical to the tree-sitter repo'squeries/highlights.scm.extension.tomltod812f2564fbf7c1cb2e6b3d1ac9aeb06566d5f82, the head commit of the tree-sitter PR branch.Merge graphcal-lang/tree-sitter-graphcal#80 first. If that PR is squash-merged, re-pin
revto the resulting commit onmainbefore merging this PR, since the branch commit may become unreachable.Validation
cargo check --lockedandcargo fmt --checkpass.tree-sitter queryagainst the pinned grammar revision on a samplefigure/layerwithplots: [...], captures bothplotstokens as@keyword.AI assistance
Breaking changes
breaking changelabel is applied