Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'\n' & "\n" becomes new line #28

Open
bmulholland opened this issue Nov 24, 2020 · 1 comment · Fixed by Nitrodist/rufo-vim#1 · May be fixed by #34
Open

'\n' & "\n" becomes new line #28

bmulholland opened this issue Nov 24, 2020 · 1 comment · Fixed by Nitrodist/rufo-vim#1 · May be fixed by #34

Comments

@bmulholland
Copy link

This seems to be recurring: #12

Rufo 0.12.0

zhengpd added a commit to zhengpd/rufo-vim that referenced this issue Dec 31, 2020
related to ruby-formatter#28

The echo command treats "\n" from selection as non-literal string, which
causes one-line string like "hello\nworld" becoming two lines. Using
`printf %s` preserves it as one line.
@Nitrodist
Copy link

This really affects me still, lol

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants