1
0
mirror of https://github.com/sharkdp/bat synced 2026-07-16 15:53:18 +00:00
Commit Graph

577 Commits

Author SHA1 Message Date
Chad Skeeters fb514ca90f Adds Typst syntax from hyrious/typst-syntax-highlight 2025-05-20 14:43:21 -05:00
Keith Hall e42883bf2c Merge branch 'master' into read-from-tail 2025-04-15 20:27:26 +03:00
chetanjangir0 14064dd987 regenerated the highlighted file 2025-04-12 19:14:15 +05:30
chetanjangir0 3eef8590f4 genereated highlighted syntax test file 2025-04-12 18:00:43 +05:30
chetanjangir0 3e7ad18fe3 fixed merge conflicts 2025-04-12 17:22:18 +05:30
HSM95 b38ee77628 Merge branch 'master' into fix/multibyte-chars 2025-04-03 00:49:55 -07:00
Dan Hipschman 9272e09058 Make highlight tests fail when new syntaxes don't have fixtures 2025-04-01 13:08:19 -07:00
Haris Mohamedy 18b71743c8 Fix for multibyte characters in file path 2025-03-31 17:29:18 -07:00
Chetan 2e7ab99099 Add Odin submodule and syntax test file 2025-03-28 12:17:45 +00:00
Chetan 207f90f01b Add GDScript submodule and syntax test file for GDScript support, see #XXX (@chetanjangir0) 2025-03-23 13:24:30 +00:00
Keith Hall ffc094bd91 Add debsources syntax 2025-02-25 22:17:00 +02:00
Keith Hall d31bc4347a Map various .NET file extensions to XML syntax 2025-02-23 20:20:52 +02:00
Keith Hall 2843a2c0e8 Add mapping for ndjson file extension to JSON syntax 2025-02-15 08:46:22 +02:00
Keith Hall 915eb55779 Merge branch 'master' into syslog_error_highlighting_fix 2025-02-09 22:20:14 +02:00
Keith Hall 512bfde7ce Correctly handle CSV files with a single separator throughout
better auto-detection of CSV delimiter
- files with a tsv extension are automatically detected as tab delimited
- other files parsed as CSV go through the following steps:
  - if the first line contains at least 3 of the same separator, it uses that separator as a delimiter
  - if the first line contains only one supported separator character, it uses that separator as a delimiter
  - otherwise it falls back to treating all supported delimiters as the delimiter

 supported delimiters, in precedence order:
 - comma `,`
 - semi-colon `;`
 - tab `\t`
 - pipe `|`
2025-02-09 20:37:53 +02:00
Keith Hall 27ba45ded7 patch Monokai Extended theme for better Syslog error highlighting 2025-02-09 20:32:48 +02:00
Keith Hall b82b920420 attempt to fix syslog error highlighting 2025-02-09 20:31:31 +02:00
einfachIrgendwer0815 53af1dc32d Fix clippy::unnecessary_filter_map warnings 2025-02-02 15:08:15 +01:00
einfachIrgendwer0815 6cf747678c Fix clippy::needless_borrows_for_generic_args warnings 2025-02-02 15:08:11 +01:00
Denis Buzdalov d6cb3ba747 [ new ] Add support for Idris 2 programming language 2025-01-27 23:47:20 +03:00
einfachIrgendwer0815 4f161705a3 Fix: Don't output default theme info to piped stdout 2025-01-27 17:11:26 +01:00
Tau Gärtli 8a11a46f66 Add integration tests 2025-01-09 08:20:36 +01:00
Anomalocaridid 96e4882b5c tests: remove serial attribute on and un-ignore applicable lessopen tests 2025-01-05 21:36:33 +00:00
Anomalocaridid a0a090c307 tests: disable lessopen for help tests 2025-01-05 21:36:33 +00:00
Keith Hall 60693db73f Merge branch 'master' into dark-light 2024-11-13 20:33:37 +02:00
einfachIrgendwer0815 3b71837174 Merge branch 'master' into fix/2731_plain_override 2024-10-30 13:06:13 +01:00
einfachIrgendwer0815 8d82402d74 Merge branch 'master' into feature/binary_as_text 2024-10-30 12:46:11 +01:00
Fabio Valentini 649fb05c58 Bump nix from 0.26.4 to 0.29 2024-10-25 09:16:21 +02:00
einfachIrgendwer0815 e667415def Add tests against issue #2731 2024-10-18 12:13:41 +02:00
einfachIrgendwer0815 5be9d19500 Reinforce tests for --list-themes 2024-08-25 11:10:25 +02:00
Tau Gärtli bc42149a72 Merge color scheme options into theme / BAT_THEME 2024-08-18 14:59:14 +02:00
einfachIrgendwer0815 7cc231b82b Test --binary=as-text 2024-08-18 10:05:43 +02:00
Tau Gärtli b9b981f657 Generalize --detect-color-scheme to --color-scheme 2024-08-16 14:14:30 +02:00
Tau Gärtli 5c6974703e Respect --detect-color-scheme flag when listing themes 2024-08-16 14:13:58 +02:00
Tau Gärtli c3b190d45b Disable color detection in test 2024-08-16 14:13:18 +02:00
Alex 571970f8ff Merge branch 'master' into read-from-tail 2024-08-10 11:34:45 +02:00
Alex Jesipow 569286055c Support relative negative line ranges 2024-08-10 10:37:19 +02:00
Ethan P. 180a77ee99 Add integration tests for merging styles
A huge thanks to @einfachIrgendwer0815 for helping me make sure
these tests work under the MSRV CI job.
2024-07-30 21:22:00 -07:00
Brenton Bostick de697f7717 add CFML syntax 2024-07-17 15:46:38 -04:00
Ethan P. 9e8176b1c6 Add --strip-ansi=auto option
When using `auto`, escape sequences will be stripped unless printing
plain text.
2024-06-17 18:27:33 -07:00
Ethan P. 70ff93d238 Add --strip-ansi option 2024-06-16 16:49:07 -07:00
ccQpein 25cd4991d2 update lisp test 2024-05-31 12:39:19 -04:00
Stéphane Blondon 23ec433167 display which theme is the default one in basic output 2024-04-19 11:44:47 +02:00
sblondon d5bd4aa93f display which theme is the default one in colored output (#2838) 2024-04-14 15:54:52 +02:00
guoguangwu 4790def1ef fix: typo
Signed-off-by: guoguangwu <guoguangwug@gmail.com>
2024-03-17 15:40:48 +01:00
Lena 4c85483486 Inline format! args wherever possible 2024-02-25 00:38:11 +01:00
einfachIrgendwer0815 83b00bc653 Rename --squeeze to --squeeze-blank 2024-02-24 14:02:27 +01:00
einfachIrgendwer0815 2323aa0def Add tests for --squeeze 2024-02-24 13:51:44 +01:00
David Peter 7604fe5567 Merge pull request #2807 from Oliver-Looney/2783-setting-terminal-title
2783 setting terminal title
2024-02-23 21:37:28 +01:00
cyqsimon 6a6b02117b Apply clippy fixes (#2864)
* Apply clippy fixes

* Write changelog
2024-02-20 19:39:22 +01:00