Files
bat/tests/syntax-tests/source
Martin Nordholts 68d525cd8b Don't add artificial newline to last line if --style=plain
This fixes #1438.

Note however, that using a pager such as less will add a newline itself.
So to actually not print a newline for such files, you need to either
disable paging:

  bat --style=plain --paging=never no-newline-at-end-of-file.txt

or use a "pager" that does not add a newline:

  bat --style=plain --pager=cat no-newline-at-end-of-file.txt

Note that we also update syntax tests file since a bunch of them had
missing newlines on the last lines.
2020-12-19 10:32:50 +01:00
..
2020-11-23 15:43:58 +01:00
2020-11-23 15:43:58 +01:00
…
…
…
…
…
…
2020-10-24 12:28:15 +02:00
…
…
…
2020-10-24 12:26:41 +02:00
2020-11-23 15:43:58 +01:00
…
…
…
…
…
…
…
…
…
2020-10-24 12:22:46 +02:00
2020-10-24 14:10:51 +02:00
…
2020-10-30 19:14:51 +01:00
2020-10-25 21:03:30 +01:00
2020-11-23 15:43:58 +01:00
2020-11-23 15:43:58 +01:00
2020-10-29 19:21:46 +01:00
…
2020-10-24 12:27:16 +02:00
…
…
2020-11-23 15:43:58 +01:00
…
2020-10-17 16:41:11 +02:00
…
2020-10-23 19:40:13 +02:00
…
…
2020-10-29 19:33:09 +01:00
2020-11-23 15:43:58 +01:00
…
2020-11-23 15:43:58 +01:00
…
2020-10-24 12:25:55 +02:00
…