e.g.
cat text.tex |tex-fmt --stdin| tex-fmt --stdin
This command produce 2 empty newline at EOF.
I am testing it with neovim formatter with comform.nvim plugin
It works by configuring it using --stdin as args.
Everytime I apply the formatter by keymaps, it create a newline at the end of the file.
latexindent do not do that.
Thanks for catching this. I have added a fix on the main branch at 2c3030c54ea7c8f4a117f8b371bb5bcef2522134. The culprit was using println! instead of print.
It produce an empty newline at EOF with
--stdin
e.g.
cat text.tex |tex-fmt --stdin| tex-fmt --stdin
This command produce 2 empty newline at EOF.I am testing it with neovim formatter with comform.nvim plugin It works by configuring it using
--stdin
as args. Everytime I apply the formatter by keymaps, it create a newline at the end of the file. latexindent do not do that.