how to make parameter has same variable.parameter highlight #11331
-
in some lang like rust, python but in other lang like clang, zig |
Beta Was this translation helpful? Give feedback.
Answered by
the-mikedavis
Jul 26, 2024
Replies: 1 comment
-
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 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
unisgn
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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)