Skip to content

What is joinlines for? #118

Answered by mrcjkb
garaiza-93 asked this question in Q&A
Jan 4, 2024 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

Hey 👋

Join lines is a bit smarter than J. For example, it can remove redundant braces, etc.
See the rust-analyzer manual and their demo gif:

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@9mm
Comment options

@mrcjkb
Comment options

@9mm
Comment options

Answer selected by mrcjkb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants