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

Pasting changes document's line-ending from LF to CRLF #715

Closed
kirawi opened this issue Sep 5, 2021 · 1 comment · Fixed by #716
Closed

Pasting changes document's line-ending from LF to CRLF #715

kirawi opened this issue Sep 5, 2021 · 1 comment · Fixed by #716
Labels
A-helix-term Area: Helix term improvements C-bug Category: This is a bug

Comments

@kirawi
Copy link
Member

kirawi commented Sep 5, 2021

Reproduction steps

  1. cargo new <x>
  2. Paste text:
enum State {
    /// Within a delimiter.
    Delimiter,
    /// After backslash, but before starting word.
    Backslash,
    /// Within an unquoted word.
    Unquoted,
    /// After backslash in an unquoted word.
    UnquotedBackslash,
    /// Within a single quoted word.
    SingleQuoted,
    /// Within a double quoted word.
    DoubleQuoted,
    /// After backslash inside a double quoted word.
    DoubleQuotedBackslash,
    /// Inside a comment.
    Comment,
}
  1. Line ending changes to CRLF, but :line-ending reports it's still LF.

Environment

  • Platform: Windows
  • Helix version: 6e21a74
@kirawi kirawi added C-bug Category: This is a bug A-helix-term Area: Helix term improvements labels Sep 5, 2021
@kirawi
Copy link
Member Author

kirawi commented Sep 5, 2021

Seems that we don't convert line endings w/ pastes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-helix-term Area: Helix term improvements C-bug Category: This is a bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant