Skip to content
This repository has been archived by the owner on Jun 8, 2024. It is now read-only.

Do not remove LF character at the EOF #125

Open
1 task done
Andrew15-5 opened this issue Nov 6, 2023 · 0 comments
Open
1 task done

Do not remove LF character at the EOF #125

Andrew15-5 opened this issue Nov 6, 2023 · 0 comments

Comments

@Andrew15-5
Copy link
Contributor

  • I have tested with the master version of typstfmt and not just typst-lsp

Describe the bug

% in zsh's output means that the end of output is at the end of the line where % is, meaning that there is no LF at the end of this line.
image

If i chat print file's output, no % is shown:

image

To Reproduce
Steps to reproduce the behavior:
echo word | typstfmt --output - (echo always adds LF at the end of the line).
This will output:
image

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant