dependabot-preview[bot]
fa72f86e17
Bump assets/syntaxes/02_Extra/CMake from `21e9698` to `7d6231c`
...
Bumps [assets/syntaxes/02_Extra/CMake](https://github.com/zyxar/Sublime-CMakeLists ) from `21e9698` to `7d6231c`.
- [Release notes](https://github.com/zyxar/Sublime-CMakeLists/releases )
- [Commits](21e96989d6...7d6231c934
)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
4 years ago
dependabot-preview[bot]
6527126e50
Bump assets/syntaxes/02_Extra/Lean from `7e99440` to `49d1853`
...
Bumps [assets/syntaxes/02_Extra/Lean](https://github.com/leanprover/vscode-lean ) from `7e99440` to `49d1853`.
- [Release notes](https://github.com/leanprover/vscode-lean/releases )
- [Commits](7e99440b33...49d185361a
)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
4 years ago
dependabot-preview[bot]
4aec022065
Bump serde from 1.0.118 to 1.0.123
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.118 to 1.0.123.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.118...v1.0.123 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
4 years ago
dependabot-preview[bot]
a26c5b8219
Bump predicates from 1.0.6 to 1.0.7
...
Bumps [predicates](https://github.com/assert-rs/predicates-rs ) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/assert-rs/predicates-rs/releases )
- [Changelog](https://github.com/assert-rs/predicates-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/assert-rs/predicates-rs/compare/v1.0.6...v1.0.7 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
4 years ago
Martin Nordholts
d36b091fd7
CICD: Build: Move PKG_* vars to 'Package' step
...
For improved modularization of CICD script.
For #1474
4 years ago
Martin Nordholts
3dcf02549e
CICD: Build: Move DPKG_* vars to 'Debian package' step
...
For cleaner CICD script. Note that we can't use outputs defined in our
own step, so also change to shell vars intead.
For #1474
4 years ago
Martin Nordholts
e402011a73
CICD: Build: Split out dir creation into the individual package steps
...
It's cleaner because we can reuse helper vars and create the dirs closer
in time to when they are needed.
For #1474
4 years ago
Martin Nordholts
dc1620d1f0
get_pager(): Simplify use_less_instead expression
4 years ago
Martin Nordholts
c48e779e8a
CHANGELOG.md: Add entry for #1413
4 years ago
Martin Nordholts
dd0d44bbb3
Fix #1413 Can't use `bat` at all! (Error: Use of bat as a pager is disallowed...)
...
Fixed by implementing the proposal by sharkdp:
* Allow PAGER=bat, but ignore the setting in bat and simply default to
less. Unless of course, BAT_PAGER or --pager is used to overwrite the
value of PAGER.
* Disallow the usage of bat within BAT_PAGER and --pager.
4 years ago
sharkdp
060b9981b5
Remove deprecated PrettyPrinter methods
4 years ago
Keith Hall
b25713938d
Fix typo in bug report template
4 years ago
Keith Hall
5b09561114
Update map-syntax text in manpage to match --help
4 years ago
Keith Hall
fcde4824d5
Add missing command line options to the manpage
4 years ago
sharkdp
b0e5828d3f
Add comment regarding use of bat as a library, closes #953
4 years ago
sharkdp
b7d499d1be
Add 'batcat' comment in MANPAGER suggestion, closes #1434
4 years ago
sharkdp
1ae16fca90
Improve --map-syntax documentation, see #1386
4 years ago
sharkdp
0e2bef3b79
Fix minor mistakes in --map-syntax documentation
4 years ago
Martin Nordholts
221c9815a5
CICD: Build: Split up into separate 'Debian package' step
...
Make sure to ignore whitespace changes when diffing.
For #1474
4 years ago
Martin Nordholts
c5c683f67c
Explicitly allow clippy::match_bool until we bump MSRV
...
Since we run clippy on Rust 1.42.0 we still get warnings about the
presence of clippy::match_bool lints. That lint has been moved from
'Style' to 'Pedantic' in Rust 1.45.0 and onwards however, so let's
silent it in our clippy runs too.
4 years ago
David Peter
149a0177cd
Update number of syntaxes
4 years ago
David Peter
252e5a6b13
Merge pull request #1402 from Enselic/fix-1063
...
Fix #1063 : Do not use 'more' or 'most' PAGER, as they are not compatible with bats output
4 years ago
sharkdp
faa27ed6e3
CICD: simply use 'sed' to extract crate information
4 years ago
sharkdp
f3227c259e
Use cache for faster install
4 years ago
sharkdp
2cfeebab90
CICD: Use 'cargo get' to extract crate metadata
4 years ago
Martin Nordholts
8dd67cca0c
Revert accidental change to assets/syntaxes/02_Extra/VimL
4 years ago
Martin Nordholts
eda72c31b2
tests: Move 'mocked pagers' utils to separate file
4 years ago
Martin Nordholts
7809008016
PagerKind::from(): Simplify
4 years ago
Martin Nordholts
c2c2b0211a
fn mocked_pager: Simplify with format!
4 years ago
Martin Nordholts
dd6f57e107
pager.rs: Some comment fixups
4 years ago
Martin Nordholts
dfe7a60140
PagerSource: [Bat]PagerEnvVar -> EnvVar[Bat]Pager
4 years ago
Martin Nordholts
fc30277cfa
pager.rs: Limit visibilities to pub(crate)
4 years ago
Martin Nordholts
02e6ff4183
Merge remote-tracking branch 'origin/master' into fix-1063
4 years ago
Martin Nordholts
e3b1142364
CICD: Build: DEPLOY -> IS_RELEASE and inline it
...
This simplifies and clarifies the script.
For #1474
4 years ago
Martin Nordholts
8832ff3c6a
CICD: Build: Adapt release version regex to bat
...
All bat tags begin with a small 'v', so no need for a generic pattern in
the CI script. This will also help us ensure we keep the same format on
future tags.
4 years ago
Martin Nordholts
505ff10dc6
CICD: Build: Always build and upload Debian packages
...
Not only when a release tag is pushed. Also publish these Debian
packages as artifacts. This makes PR workflows more similar to release
work flows, and reduces risk of build system regressions that we don't
detect until we make a new release.
For #1474
4 years ago
Martin Nordholts
9a3a5545e7
CICD: Build: Use Cargo.toml version instead of tag
...
This enables us to later always build Debian packages. If you try to use
a git sha as Debian package version you will get an error:
dpkg-deb: error: parsing file '_staging/dpkg/DEBIAN/control' near line 2 package 'bat':
error in 'Version' field string 'd2963ce4': version number does not start with digit
so we need to use a version that is always available.
We duplicate the bat version in another place here which is a bit bad,
but it is already duplicated a lot, so we don't make things
significantly worse. It is still kind of nice to not have to figure out
a good and robust way to parse out the version from Cargo.toml in the CI
script.
For #1474
4 years ago
Martin Nordholts
43919066ad
CICD: Use fixed OS versions instead of 'latest' ones
...
This reduces the risk of the build suddenly breaking, and fixes this
current warning:
Ubuntu-latest workflows will use Ubuntu-20.04 soon.
For more details, see https://github.com/actions/virtual-environments/issues/1816
I've use the mapping found at
https://github.com/actions/virtual-environments , so there should be no
actual change in OS versions, only semantically so.
4 years ago
sharkdp
7ada963ec2
Add ChangeLog entry
4 years ago
sharkdp
4c523af1ab
Add gnuplot syntax
...
closes #1431
4 years ago
sharkdp
c5c28eb05b
--diagnostic: add MANPAGER environment variable
4 years ago
David Peter
22924532d0
Fix link in doc/assets.md
4 years ago
sharkdp
7c227169a4
Add note about breaking change
4 years ago
sharkdp
8e4b0b4377
Update dependencies
...
fixes #1149
fixes #1477
4 years ago
sharkdp
6d27df3b77
Use unstable sort for theme test
4 years ago
sharkdp
73d14f4655
Use BatTester::default instead of BatTester::new
4 years ago
sharkdp
19b8c53c46
Enable clippy::style checks
4 years ago
sharkdp
cd7be018fe
Fix clippy suggestion: .or_else(|| Some(…)) => .or(Some(…))
4 years ago
sharkdp
03a2710a08
Use new matches!(…) macro to simplify code
4 years ago
sharkdp
09fbabb0b8
Add a Default implementation for PrettyPrinter
4 years ago