Replies: 3 comments
-
fn main() { println!("test"); } Personally, I like the current behavior as it is consistent with other |
Beta Was this translation helpful? Give feedback.
0 replies
-
Yeah this is intentional |
Beta Was this translation helpful? Give feedback.
0 replies
-
Practically speaking, I usually want to copy the body of the function. When Is there an alternate behavior for my intended use case? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
When I hit "mif", I expect the body of the function, but not it's enclosing brackets to be selected.
Instead, everything other than the function definition gets picked.
This is repro'd on a recent Helix build, with rust-analyzer.
Reproduction Steps
I tried this:
mif
from within the functionI expected this to happen:
Instead, this happened:
where ">" represents a selection
Helix log
~/.cache/helix/helix.log
Platform
Linux
Terminal Emulator
alacritty
Installation Method
source
Helix Version
helix 25.01.1 (e7ac2fc)
Beta Was this translation helpful? Give feedback.
All reactions