Martin Nordholts
9ccb667653
Add integration test for unparsable pager
...
Right now all tests pass even if we e.g. return
Ok(OutputType::stdout())
instead of doing
.chain_err(|| "Could not parse pager command.")?
so add a test to make sure this functionality don't break.
4 years ago
Niklas Mohrin
b600f62ab6
Add unix specific integration test about running bat without any arguments
4 years ago
Niklas Mohrin
ace655e164
Add integration tests for clircle cycle detection
4 years ago
Niklas Mohrin
21ae26cb17
Add cycle detection with clircle, now v0.2
4 years ago
Martin Nordholts
478233f795
Merge remote-tracking branch 'origin/master' into fix-1063
4 years ago
Martin Nordholts
e87c554ccd
tests: Make mocked pagers work on Windows
4 years ago
Martin Nordholts
df33ed05dd
Run PATH-dependent tests serially
...
Since PATH is a shared resource.
4 years ago
Martin Nordholts
c9efdd68ed
Add integration tests for 'more' and 'most' used as pagers
4 years ago
sharkdp
8381945cb5
Update formatting
4 years ago
David Peter
2046b47739
Move "diagnostics" part to the bottom of the bug report template
4 years ago
Janek
0c302f088a
Update bug_report.md
4 years ago
Janek
a41db63907
Update bug_report.md
4 years ago
Janek
3573c48e98
bug_report.md: improve wording
4 years ago
Janek
e94980bfd0
bug_report.md: move environment prompt back up
4 years ago
Janek
5422982207
Update bug_report.md
4 years ago
David Peter
4fe5497d19
Merge pull request #1268 from eth-p/improved-benchmark
...
Add option to specify bat target in run-benchmarks.sh
4 years ago
Ethan P
1b549ecc66
Merge branch 'master' into improved-benchmark
4 years ago
sharkdp
b5bdba8b16
Svelte syntax test: rename license file
4 years ago
sharkdp
522c97f5ad
DotEnv syntax test: add missing newline
4 years ago
sharkdp
7fbb3a5352
Add Zig entry in ChangeLog, see #1470
4 years ago
sharkdp
b3f34529b5
Update Zig syntax test output
4 years ago
Paul Smith
d388d07e9f
Delete erroneously added Sublime file
4 years ago
Paul Smith
c76e27851c
Add support for Zig
...
Adds syntax support for source code for the Zig programming
language. https://ziglang.org/
4 years ago
sharkdp
8c0dcf3b57
Update syntax test instructions
4 years ago
sharkdp
962b3a78c0
Add step-by-step guide to add syntax tests, see #1211
4 years ago
sharkdp
aa5b941ed5
Add ChangeLog entry
4 years ago
Julian Berman
af8a8035e8
Add a Lean highlighting test file.
4 years ago
Julian Berman
037a66c57b
Add the Lean submodule.
4 years ago
Julian Berman
1a04dcf10f
Add Lean.sublime-syntax.
...
Covers syntax for Lean 3, an interactive theorem prover
at https://leanprover-community.github.io/ whose users
mostly use VSCode.
4 years ago
David Peter
2eae8b578e
Fix repology badge
4 years ago
dependabot-preview[bot]
17189fce9b
Bump assets/themes/zenburn from `cb746f6` to `7f6fb86`
...
Bumps [assets/themes/zenburn](https://github.com/colinta/zenburn ) from `cb746f6` to `7f6fb86`.
- [Release notes](https://github.com/colinta/zenburn/releases )
- [Commits](cb746f6962...7f6fb86e0d
)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
4 years ago
dependabot-preview[bot]
a0225018e6
Bump assets/syntaxes/02_Extra/TypeScript from `603ebb4` to `a607ddf`
...
Bumps [assets/syntaxes/02_Extra/TypeScript](https://github.com/Microsoft/TypeScript-Sublime-Plugin ) from `603ebb4` to `a607ddf`.
- [Release notes](https://github.com/Microsoft/TypeScript-Sublime-Plugin/releases )
- [Commits](603ebb48b1...a607ddfec9
)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
4 years ago
dependabot-preview[bot]
361b7aa0da
Bump console from 0.13.0 to 0.14.0
...
Bumps [console](https://github.com/mitsuhiko/console ) from 0.13.0 to 0.14.0.
- [Release notes](https://github.com/mitsuhiko/console/releases )
- [Changelog](https://github.com/mitsuhiko/console/blob/master/CHANGELOG.md )
- [Commits](https://github.com/mitsuhiko/console/compare/0.13.0...0.14.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
4 years ago
dependabot-preview[bot]
334590932a
Bump syntect from 4.4.0 to 4.5.0
...
Bumps [syntect](https://github.com/trishume/syntect ) from 4.4.0 to 4.5.0.
- [Release notes](https://github.com/trishume/syntect/releases )
- [Changelog](https://github.com/trishume/syntect/blob/master/CHANGELOG.md )
- [Commits](https://github.com/trishume/syntect/compare/v4.4.0...v4.5.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
4 years ago
dependabot-preview[bot]
3f4638204f
Bump git2 from 0.13.12 to 0.13.15
...
Bumps [git2](https://github.com/rust-lang/git2-rs ) from 0.13.12 to 0.13.15.
- [Release notes](https://github.com/rust-lang/git2-rs/releases )
- [Commits](https://github.com/rust-lang/git2-rs/compare/0.13.12...0.13.15 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
4 years ago
dependabot-preview[bot]
5e7061b9f6
Bump predicates from 1.0.5 to 1.0.6
...
Bumps [predicates](https://github.com/assert-rs/predicates-rs ) from 1.0.5 to 1.0.6.
- [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.5...v1.0.6 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
4 years ago
dependabot-preview[bot]
7a1cd5226f
Bump serde from 1.0.117 to 1.0.118
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.117 to 1.0.118.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.117...v1.0.118 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
4 years ago
dependabot-preview[bot]
285ac75738
Bump assets/syntaxes/02_Extra/Julia from `6c0d770` to `e2b1cb5`
...
Bumps [assets/syntaxes/02_Extra/Julia](https://github.com/JuliaEditorSupport/Julia-sublime ) from `6c0d770` to `e2b1cb5`.
- [Release notes](https://github.com/JuliaEditorSupport/Julia-sublime/releases )
- [Commits](6c0d770fc7...e2b1cb549d
)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
4 years ago
dependabot-preview[bot]
00ff54be4e
Bump assets/syntaxes/02_Extra/SCSS_Sass from `bc6332c` to `4868322`
...
Bumps [assets/syntaxes/02_Extra/SCSS_Sass](https://github.com/braver/SublimeSass ) from `bc6332c` to `4868322`.
- [Release notes](https://github.com/braver/SublimeSass/releases )
- [Commits](bc6332c1be...4868322030
)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
4 years ago
dependabot-preview[bot]
aab35e3faa
Bump assets/themes/dracula-sublime from `26c57ec` to `c2de0ac`
...
Bumps [assets/themes/dracula-sublime](https://github.com/dracula/sublime ) from `26c57ec` to `c2de0ac`.
- [Release notes](https://github.com/dracula/sublime/releases )
- [Commits](26c57ec282...c2de0acf5a
)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
4 years ago
Martin Nordholts
bfa5342331
Also replace 'more' from PAGER with 'less'
...
But first do some quite significant refactorings to keep the code clean
and easy to understand.
4 years ago
Martin Nordholts
c0d945c0ac
Allow clippy::style lints
...
Turns out GitHub is clever enough to pick up clippy warnings from us
just running it, and showing them in PRs under a "Unchanged files with
check annotations (beta)" header.
The only warnings currently shown are style warnings, and we agreed we
don't want to risk putting off contributors over style issues. So
explicitly allow (don't warn in the logs for) this category of clippy
lints.
This means that the only clippy categories left that prints warnings
(Warn) are:
clippy::complexity
clippy::perf
And the only category of lints that fails the CI build (Deny) remains to
be:
clippy::correctness
See https://rust-lang.github.io/rust-clippy/master/index.html for a
catalog of all lints.
4 years ago
Martin Nordholts
22bdc7c20f
When PAGER=most, don't print a warning to stderr, silently use less instead
4 years ago
Ethan P
3ed0081f1f
Improve benchmark script to support cargo/config target-dir
4 years ago
sharkdp
6d0e7650c3
Add .resource extension for Robot Framework
4 years ago
Martin Nordholts
552545fe5f
Merge remote-tracking branch 'origin/master' into fix-1063
4 years ago
Martin Nordholts
dcfe883f4b
Simplify and polish pager.rs and related code
4 years ago
Martin Nordholts
f45fa5e187
CHANGELOG.md: Add bugfix entry for #614
4 years ago
Martin Nordholts
05e9da390f
bat cache --build: Print syntect error message for themes if any
...
This will fix #614 by making it clear what is wrong by showing the
following error message:
Failed to load one or more themes from
'/Users/me/.config/bat/themes' (reason: 'Invalid syntax theme
settings')
We also need to add a check if theme_dir.exists(), otherwise an absent
dir will seem like an error:
Failed to load one or more themes from
'/Users/me/.config/bat/themes' (reason: 'IO error for
operation on /Users/me/.config/bat/themes: No such file or
directory (os error 2)')
(This is the same check we already have for syntax_dir.)
4 years ago
Martin Nordholts
cc0f8ca813
Merge remote-tracking branch 'origin/master' into fix-1063
4 years ago