bat/tests/syntax-tests
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
..
highlighted Don't add artificial newline to last line if --style=plain 2020-12-19 10:32:50 +01:00
source Don't add artificial newline to last line if --style=plain 2020-12-19 10:32:50 +01:00
compare_highlighted_versions.py Add comparison script 2020-08-03 15:59:53 +02:00
create_highlighted_versions.py feat: include dotfiles (.) in create_highlighted_versions.py search 2020-10-17 17:40:51 +02:00
regression_test.sh Replace #!/bin/bash with #!/usr/bin/env bash to improve compatibility with systems where /bin/bash is not available 2020-10-04 11:51:07 +02:00
update.sh Add change dir to script dir to allow running from project root dir 2020-10-04 19:35:32 +02:00