You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
bat/tests/syntax-tests/highlighted
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.
4 years ago
..
ARM Assembly test: ARM Assembly syntax test file 4 years ago
ASP add new syntax test files 4 years ago
AWK Add updated, highlighted output 4 years ago
ActionScript Add ActionScript 3 syntax test 4 years ago
Apache Add apache httpd.conf example 4 years ago
AppleScript add new syntax test files 4 years ago
AsciiDoc test: add asciidoc highlight test 4 years ago
Assembly (x86_64) test: x86-64 Assembly NASM syntax test 4 years ago
Bash Add a batgrep as Bash script syntax tests 4 years ago
Batch Add Batch syntax test 4 years ago
BibTeX Added BibTeX syntax tests 4 years ago
C Add C file test 4 years ago
C-Sharp Add C-Sharp (C#) syntax highlighting test files 4 years ago
CMake add CMake syntax highlighting test 4 years ago
CSS Added missing highlighted generated test file 4 years ago
CSV Add CSV syntax hightlighting test 4 years ago
Clojure Add Clojure syntax test. 4 years ago
Cpp Add Cpp file test 4 years ago
CpuInfo Add CpuInfo syntax test 4 years ago
Crystal Regenerate using a fresh latest build of bat 4 years ago
D #1213 expanded D test file 4 years ago
Dart added test.dart 4 years ago
Diff Add Diff syntax highlight test 4 years ago
Dockerfile Add basic Dockerfile syntax highlighting test files 4 years ago
DotENV feat: add syntax sample for dotEnv files 4 years ago
Elixir Added Elixir file example 4 years ago
Elm Add elm syntax regression test 4 years ago
Email Update email syntax output 4 years ago
Erlang Added test file for Erlang. 4 years ago
EtcGroup Add test file for `/etc/group` 4 years ago
Fish add new syntax test files 4 years ago
Fstab Add syntax test for /etc/fstab 4 years ago
GLSL add GLSL syntax highlighting test 4 years ago
Git Attributes Add Git Attributes syntax test 4 years ago
Git Config Add Git Config syntax test file 4 years ago
Git Ignore add .gitignore test 4 years ago
Go test: add go highlight test 4 years ago
GraphQL Add GraphQl syntax test sample 4 years ago
Graphviz DOT Add Graphviz DOT example files 4 years ago
Groovy Add Groovy syntax test. 4 years ago
HTML Add HTML syntax test sample 4 years ago
Haskell Haskell highligth test 4 years ago
Hosts added new syntax highlighting files 4 years ago
INI Add syntax highlighting test file for INI (#1213) 4 years ago
JSON test: add json highlight test 4 years ago
Java Add Java file test 4 years ago
JavaScript Added a JavaScript test file 4 years ago
Jinja2 test: add Jinja2 syntax test file 4 years ago
Julia forgot to update highlighted file after changing 4 years ago
Kotlin test: Kotlin syntax test file 4 years ago
Less Add Less file for syntax tests 4 years ago
Lisp Add Common Lisp syntax highlighting test files 4 years ago
Lua Add Lua syntax test. 4 years ago
MATLAB Add MATLAB syntax test file 4 years ago
Makefile Changed Makefile syntax test source 4 years ago
Manpage End highlighting of C code in man pages when no longer relevant 4 years ago
Markdown #1213 Added example Markdown file 4 years ago
MemInfo Add MemInfo syntax test 4 years ago
Ninja Add Ninja highlight test 4 years ago
OCaml Add an OCaml file for syntax tests. 4 years ago
Objective-C add new syntax test files 4 years ago
Objective-C++ add new syntax test files 4 years ago
PHP updated the php commit 4 years ago
Pascal pascal: add syntax highlight file 4 years ago
Passwd Add /etc/passwd syntax test file 4 years ago
Perl Add Perl test file 4 years ago
Plaintext Don't add artificial newline to last line if --style=plain 4 years ago
PowerShell Add PowerShell syntax test 4 years ago
Protocol Buffer Add a protobuf syntax sample. 4 years ago
PureScript Add PureScript syntax test 4 years ago
Python Added Basic python test file 4 years ago
QML Add QML syntax test 4 years ago
R Fix line endings 4 years ago
Regular Expression add new syntax test files 4 years ago
RequirementsTXT added new syntax highlighting files 4 years ago
Ruby Add a ruby source code syntax test with source and output 4 years ago
Ruby Haml Import syntax regression test for Ruby Haml 4 years ago
Ruby On Rails add new syntax test files 4 years ago
Rust Add comparison script 4 years ago
SCSS Replace SCSS example with unlicensed one 4 years ago
SLS Add Salt State (SLS) test file 4 years ago
SML Add an SML syntax test file. 4 years ago
SQL Add SQL syntax highlighting test 4 years ago
SSH Config Initial version of syntax regression tests 4 years ago
SSHD Config Add sshd_config syntax highlighting test 4 years ago
Sass feat: add syntax tests for sass 4 years ago
Scala Add scala code highlight test 4 years ago
Svelte Add Svelte as a syntax 4 years ago
Swift Fix line endings 4 years ago
TOML Initial version of syntax regression tests 4 years ago
Tcl add new syntax test files 4 years ago
TeX Add TeX syntax highlighting test files 4 years ago
Terraform Add Terraform example file for Syntax Highlighting 4 years ago
Textile add new syntax test files 4 years ago
TypeScript Generate highlighted file on latest version 4 years ago
Vue Add tests for Vue component syntax 4 years ago
XML #1213 Added example xml file 4 years ago
YAML added new syntax highlighting files 4 years ago
nginx Add fairly complex nginx config. 4 years ago
nim feat: add Nim syntax test file 4 years ago
nix 1312: nix; fixed src 4 years ago
orgmode 1213: org mode highlight testing 4 years ago
reStructuredText Added reStructuredText reference for syntax tests 4 years ago