Commit Graph

341 Commits (89539ff247019a000f4c29ed8eed66da2bb6f0a6)

Author SHA1 Message Date
Mohamed Abdelnour 8435cad602 Merge master 3 years ago
Mohamed Abdelnour 8b6341458b Add XAML test file 3 years ago
Mohamed Abdelnour 8b787b4f70 Add dash test file 3 years ago
David Peter bfa9c3bef6
Merge branch 'master' into feature/dark_plus_theme 3 years ago
David Peter 2904f24ea8
Merge pull request #1606 from sharkdp/syslog
Improve Syslog and general log file highlighting
3 years ago
Ersikan e219c8fc03 Update SublimeEthereum version
A fix I submitted upstream was merged, and this commit bumps the submodule
to include it.
3 years ago
Ersikan 9eb26b702c Add syntax test for Vyper language 3 years ago
Ersikan c933be926d Add syntax tests for Solidity language. 3 years ago
David Peter 5db3c93057
Merge branch 'master' into syslog 3 years ago
David Peter aa442b5795
Merge branch 'master' into feature/dark_plus_theme 3 years ago
Keith Hall 848ceb6f10 Remove variable.other from CSV highlighting 3 years ago
Keith Hall 3559079de0 Improvements to CSV highlighting 3 years ago
Keith Hall 7c4edacb2b Add independent log syntax 4 years ago
Keith Hall 782ede5db5 improve syslog syntax 4 years ago
Keith Hall 1537733e6b replace Syslog dependency with a custom syntax 4 years ago
Keith Hall ba0d43672b add example syslog file for highlighting tests 4 years ago
PatriotRossii 0cd52e5be1
Add "Visual Studio Dark+" theme to vec of themes 4 years ago
Sean McLoughlin d89fa3ebc2 Add SystemVerilog support 4 years ago
Niklas Mohrin b8a18d3ebb Use tempfiles for clircle tests 4 years ago
Martin Nordholts 3af3549232 integration_tests: Use tempdir() in config_location_when_generating
For cleaner code.

Use the tempdir() function since that is recommended by the crate docs:
https://docs.rs/tempfile/3.2.0/tempfile/index.html
4 years ago
Martin Nordholts 643f0bcbe3 integration_tests.rs: Add test config_location_when_generating
As a complement to #1556 to prevent #1550 from coming back.

The test purposefully fails if ca60937c2e is reverted.
4 years ago
David Peter ca60937c2e Do not ignore non-existent BAT_CONFIG_PATH
Do not ignore `BAT_CONFIG_PATH` if it doesn't exist. Both when
generating a new config file with `--generate-config-file` and
when attempting to read the config.

Also, provide a better error message in case the file can not
be created.

closes #1550
4 years ago
Keith Hall 7768433d09 Improve Monokai Extended JSON key color with a patch 4 years ago
David Peter 94496df3b0 Fix broken resolv.conf highlighting
closes #1510

The change in `create_highlighted_versions.py` fixes a "unknown theme
"'1337'" warning. The single quotes were wrong. `bat` was always falling
back to the default theme, so let's use that for now.
4 years ago
Caden Haustein 573f34d757
Update dependencies; replace unmaintained (#1522)
* Update dependencies; replace unmaintained

* Fix errors

* Revert dependency changes

* Revert git2 to 0.13.15

Co-authored-by: David Peter <mail@david-peter.de>
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
Martin Nordholts eda72c31b2 tests: Move 'mocked pagers' utils to separate file 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 02e6ff4183 Merge remote-tracking branch 'origin/master' into fix-1063 4 years ago
sharkdp 4c523af1ab Add gnuplot syntax
closes #1431
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
Martin Nordholts da10166625 Merge remote-tracking branch 'origin/master' into fix-1063 4 years ago
sharkdp 35e3c51b75 Fix unused import warning 4 years ago
sharkdp 59c9105c25 Fix clippy warnings in tests on Windows 4 years ago
Martin Nordholts 46487b201f Merge remote-tracking branch 'origin/master' into fix-1063 4 years ago
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
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
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 b3f34529b5 Update Zig syntax test output 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
Julian Berman af8a8035e8 Add a Lean highlighting test file. 4 years ago