Skip to content

how to make parameter has same variable.parameter highlight #11331

Answered by the-mikedavis
unisgn asked this question in Q&A
Discussion options

You must be logged in to vote

Parameter highlights extending to references of the parameters is possible because of locals queries, for example for Rust: https://github.com/helix-editor/helix/blob/master/runtime/queries/rust/locals.scm

To support that kind of highlighting for more languages you can try writing the locals queries for those languages (in runtime/queries/zig/locals.scm for example)

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by unisgn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #11330 on July 26, 2024 13:12.