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
Martin Nordholts
c3fc1b88fe
replace_nonprintable: Keep \n around
...
Since it has a functional role, we can not just replace it, we must keep
it around. This also allows us to simplify the code slightly.
We must fix this before we fix #1438 since otherwise the \n will be
missing with --style=plain, since we will stop adding it if it is
missing.
4 years ago
rsteube
84b0702399
only print themes hint in interactive mode
4 years ago
purvesh-linux11
f3489ffa29
add packaging in unreleased section
4 years ago
purvesh-linux11
8e6ba2a3e1
update changelog file
4 years ago
purvesh-linux11
48e799e7a6
changing snap name to batcat
4 years ago
purvesh-linux11
bc01999f0d
update chagelog.md
4 years ago
purvesh-linux11
b0fcb3065f
add snap installtion command
4 years ago
sharkdp
94d8cd5100
Minor fixes in CONTRIBUTING.md
4 years ago
dependabot-preview[bot]
5596c6133b
Bump assets/syntaxes/02_Extra/ssh-config from `1ddcb32` to `201816b`
...
Bumps [assets/syntaxes/02_Extra/ssh-config](https://github.com/robballou/sublimetext-sshconfig ) from `1ddcb32` to `201816b`.
- [Release notes](https://github.com/robballou/sublimetext-sshconfig/releases )
- [Commits](1ddcb320ac...201816b609
)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
4 years ago
dependabot-preview[bot]
304332e380
Bump assets/syntaxes/02_Extra/GraphQL from `c9d8458` to `59304d6`
...
Bumps [assets/syntaxes/02_Extra/GraphQL](https://github.com/dncrews/GraphQL-SublimeText3 ) from `c9d8458` to `59304d6`.
- [Release notes](https://github.com/dncrews/GraphQL-SublimeText3/releases )
- [Commits](c9d84587eb...59304d6c7b
)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
4 years ago
dependabot-preview[bot]
fb989d8c94
Bump assets/syntaxes/02_Extra/Svelte from `bf92f5b` to `aee0676`
...
Bumps [assets/syntaxes/02_Extra/Svelte](https://github.com/corneliusio/svelte-sublime ) from `bf92f5b` to `aee0676`.
- [Release notes](https://github.com/corneliusio/svelte-sublime/releases )
- [Commits](bf92f5b7b6...aee0676f37
)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
4 years ago
dependabot-preview[bot]
026220b960
Bump assets/syntaxes/02_Extra/AWK from `e593eb6` to `e23926e`
...
Bumps [assets/syntaxes/02_Extra/AWK](https://github.com/JohnNilsson/awk-sublime ) from `e593eb6` to `e23926e`.
- [Release notes](https://github.com/JohnNilsson/awk-sublime/releases )
- [Commits](e593eb6d42...e23926eca1
)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
4 years ago
dependabot-preview[bot]
543a253bc1
Bump assets/themes/Coldark from `b4a1c74` to `e44750b`
...
Bumps [assets/themes/Coldark](https://github.com/ArmandPhilippot/coldark-bat ) from `b4a1c74` to `e44750b`.
- [Release notes](https://github.com/ArmandPhilippot/coldark-bat/releases )
- [Commits](b4a1c74d8d...e44750b2a9
)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
4 years ago
dependabot-preview[bot]
8f8e44e87a
Bump assert_cmd from 1.0.1 to 1.0.2
...
Bumps [assert_cmd](https://github.com/assert-rs/assert_cmd ) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/assert-rs/assert_cmd/releases )
- [Changelog](https://github.com/assert-rs/assert_cmd/blob/master/CHANGELOG.md )
- [Commits](https://github.com/assert-rs/assert_cmd/compare/v1.0.1...v1.0.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
4 years ago
Deshdeepak
2da11097f9
Update with termux installation
4 years ago
chris48s
d124ebeced
only try to publish one set of archives/packages for linux x64
4 years ago
Martin Nordholts
986d0e9777
Ignore PAGER=most by default with a warning to stderr
...
closes #1063
4 years ago
Martin Nordholts
f4202361b4
Add Pager helper with info about where the value comes from
...
In preparation of fixing issue #1063 .
This is a pure refactoring with no intended functional side effects.
4 years ago
sharkdp
6d981498d8
Bump version to 0.17.1
4 years ago
sharkdp
bd2e9917da
Revert "Add cycle detection integration tests"
...
This reverts commit ec60d84265
.
4 years ago
sharkdp
a6810e3353
Revert "Add io cycle detection with clircle"
...
This reverts commit aa2ae19dfd
.
4 years ago
henil
591eba66a3
add new syntax test files
4 years ago
sharkdp
a5a9ac83e5
Revert "Update dependencies"
...
This reverts commit 44a905d135
.
4 years ago
sharkdp
15b122a448
Update syntax cache
4 years ago
sharkdp
44a905d135
Update dependencies
4 years ago
sharkdp
8884104e82
Bump version to v0.17.0
4 years ago
David Peter
277cc5fa21
Revert "invoke gzip with -n"
...
This reverts commit 21de52ebea
.
4 years ago
David Peter
0cbd7d583c
Revert "remove leading article from description"
...
This reverts commit 7c730d11c3
.
4 years ago
David Peter
3c3fc92863
Revert "ensure copyright is mode 644"
...
This reverts commit 4a6b4fb632
.
4 years ago
David Peter
e69d650598
Revert "include years in copyright notice"
...
This reverts commit 9f91a7d797
.
4 years ago
David Peter
9385c81882
Revert "include changelog in package"
...
This reverts commit 1d4cee11b7
.
4 years ago
David Peter
1b84f9f1ae
Revert "add Depends line"
...
This reverts commit 883cc964ae
.
4 years ago
David Peter
d879fbd8a1
Revert "change docs dir name to match package name"
...
This reverts commit e4370d8d3f
.
4 years ago
sharkdp
1fbdef06aa
Use unreachable!(…)
4 years ago
MarcoIeni
f5531cc7fa
remove all matches
4 years ago
MarcoIeni
2ccff145ed
remove unuseful matches expression
4 years ago
MarcoIeni
43b2ee5e71
fix some clippy warnings
4 years ago
sharkdp
51463a4b41
Change Robot syntax name to 'Robot Framework'
4 years ago
Niklas Mohrin
4f0116bee7
Add cycle detection integration tests
4 years ago
Niklas Mohrin
31793cfa62
Add io cycle detection with clircle
4 years ago
Ethan P
6d75540d4e
Merge pull request #1389 from nstickney/master
...
explain how to use bat as cat (no paging) (closes #1383 )
4 years ago
Stick
ba5cbe208f
explain how to use bat as cat (no paging)
4 years ago
Janek
2b82203041
Update bug_report.md
4 years ago
sharkdp
35da065445
Add zsh completion fix to CHANGELOG
4 years ago
dependabot-preview[bot]
12a1fe3ad4
Bump git2 from 0.13.11 to 0.13.12
...
Bumps [git2](https://github.com/rust-lang/git2-rs ) from 0.13.11 to 0.13.12.
- [Release notes](https://github.com/rust-lang/git2-rs/releases )
- [Commits](https://github.com/rust-lang/git2-rs/compare/0.13.11...0.13.12 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
4 years ago
dependabot-preview[bot]
91057f2a09
Bump assets/syntaxes/02_Extra/Terraform from `64208ea` to `54d8350`
...
Bumps [assets/syntaxes/02_Extra/Terraform](https://github.com/alexlouden/Terraform.tmLanguage ) from `64208ea` to `54d8350`.
- [Release notes](https://github.com/alexlouden/Terraform.tmLanguage/releases )
- [Commits](64208ea816...54d8350c3c
)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
4 years ago
dependabot-preview[bot]
15060f00a5
Bump assets/syntaxes/02_Extra/Elixir from `4ee539b` to `4fb0189`
...
Bumps [assets/syntaxes/02_Extra/Elixir](https://github.com/princemaple/elixir-sublime-syntax ) from `4ee539b` to `4fb0189`.
- [Release notes](https://github.com/princemaple/elixir-sublime-syntax/releases )
- [Commits](4ee539b43d...4fb01891dd
)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
4 years ago
dependabot-preview[bot]
1a82a03d5d
Bump assets/themes/onehalf from `3aa42a3` to `8992311`
...
Bumps [assets/themes/onehalf](https://github.com/sonph/onehalf ) from `3aa42a3` to `8992311`.
- [Release notes](https://github.com/sonph/onehalf/releases )
- [Commits](3aa42a39ed...89923117bc
)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
4 years ago
dependabot-preview[bot]
4674105698
Bump assets/syntaxes/02_Extra/CMake from `aba96a0` to `21e9698`
...
Bumps [assets/syntaxes/02_Extra/CMake](https://github.com/zyxar/Sublime-CMakeLists ) from `aba96a0` to `21e9698`.
- [Release notes](https://github.com/zyxar/Sublime-CMakeLists/releases )
- [Commits](aba96a0862...21e96989d6
)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
4 years ago