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.
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.
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)