einfachIrgendwer0815
dbe25ba5e6
Include shell completions in the executable
2024-12-01 09:39:17 +01:00
Leo
f87157d009
Update syntax mapping for apache conf
2024-12-01 11:15:17 +08:00
binchengqu
d27064cea5
chore: remove redundant word in comment
...
Signed-off-by: binchengqu <bincheng@before.tech>
2024-11-21 11:55:43 +08:00
kojix2
6598442d41
Merge branch 'master' into print
2024-11-14 10:08:21 +09:00
Keith Hall
2e836e9822
Merge branch 'master' into mhelsley-fix-lessopen
2024-11-13 21:42:36 +02:00
Keith Hall
08047a6a2e
Merge branch 'master' into dark-light
2024-11-13 20:54:57 +02:00
Keith Hall
60693db73f
Merge branch 'master' into dark-light
2024-11-13 20:33:37 +02:00
Keith Hall
dbe352d8b8
Merge branch 'master' into citation-mapping
2024-11-13 20:25:26 +02:00
kojix2
ca43c7a8f8
Merge branch 'master' into print
2024-10-31 15:04:14 +09:00
Jacek Generowicz
0a8bfc52a6
Move from unix-family to common
2024-10-31 08:03:45 +02:00
Jacek Generowicz
9090fb75e0
Make .debdiff imply .diff using syntax_mapping toml
...
Closes #2940
2024-10-31 08:03:45 +02:00
Keith Hall
bd3c49d234
Merge remote-tracking branch 'origin/master' into pacman-conf
2024-10-31 05:08:46 +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
kojix2
b93a41a9a3
Add print_with_writer to PrettyPrint
2024-10-23 21:21:15 +09:00
Keith Hall
a80d5ea9f7
Merge branch 'master' into pacman-conf
2024-10-21 23:02:56 +03:00
Keith Hall
c11a7d9e41
Merge branch 'master' into kubernetes
2024-10-21 23:01:30 +03:00
einfachIrgendwer0815
c9fd0f3cf0
Add partial override of -pp and --paging
2024-10-18 12:13:41 +02:00
einfachIrgendwer0815
fd6c7637e4
Partially revert "Make -pp override --paging and vice versa when passed as a later argument. ( #2660 )"
...
This partially reverts commit e2bf85e749
.
2024-10-18 11:46:51 +02:00
Jarasłaŭ Viktorčyk
9a816c9c68
Add syntax mapping for CITATION.cff
2024-10-13 11:47:31 +02:00
Matt Helsley
431344ba67
Merge branch 'master' into mhelsley-fix-lessopen
2024-10-06 21:52:34 -07:00
Keith Hall
b01ed8d773
Merge branch 'master' into fix/3073_list_themes
2024-10-06 22:08:00 +03:00
Matt Helsley
3e5f4266ce
Fix lessopen feature
...
RawOsString API changed in os_str_bytes 7.0.0 and bat no longer builds
with the lessopen feature because:
- ::from_string() is deprecated and says to use new().
The documentation says that new(), like from_string() no longer
needs to copy the string.
- ::assert_from_raw_vec() is no longer merely deprecated and now
requires selecting the "conversions" feature of os_str_bytes.
Replaces PR#2938
2024-10-03 16:32:23 -07:00
einfachIrgendwer0815
bc69ffb0f0
Map *.mkd
files to Markdown
syntax ( #3061 )
2024-09-26 21:06:07 +02:00
Mikael Vaaltola
ed7789d9b7
Associate GeoJSON .geojson
files with json
syntax ( fixes #3083 )
2024-09-20 06:14:26 +02:00
Tau Gärtli
b747184788
Accept impl Into<String>
to avoid cloning strings
2024-09-08 17:11:11 +02:00
Tau Gärtli
02ae6ef348
Remove redundant guard
2024-09-07 22:59:27 +02:00
Tau Gärtli
0ebb9cbfe2
Add Display impl
2024-09-07 21:57:27 +02:00
Tau Gärtli
f6cbee9e27
Update docs
2024-09-07 21:36:03 +02:00
Tau Gärtli
10e823c4b7
Rename internal function
2024-09-07 21:36:03 +02:00
Tau Gärtli
60e4027332
Expose theme env vars
2024-09-07 21:36:02 +02:00
Tau Gärtli
e075fee5bf
Add infallible constructor
2024-09-07 21:36:02 +02:00
Tau Gärtli
16d9b99f6c
Flatten preference enum
2024-09-04 21:18:29 +02:00
einfachIrgendwer0815
0603f0b844
Don't output default theme info to piped stdout
2024-08-25 10:54:46 +02:00
Tau Gärtli
50958472e5
Return theme alongside detected color scheme
2024-08-23 18:03:07 +02:00
Tau Gärtli
89ce060183
Update help, man page and completions
2024-08-18 20:32:59 +02:00
Tau Gärtli
bc42149a72
Merge color scheme options into theme / BAT_THEME
2024-08-18 14:59:14 +02:00
einfachIrgendwer0815
0c3b22e0f0
Run syntax highlighting when --binary=as-text
2024-08-18 10:06:12 +02:00
einfachIrgendwer0815
7f089ead62
Add option --binary
...
`--binary` allows to specify how to deal with binary content. Current
options are not printing anything or treating the binary data as text.
2024-08-18 10:05:37 +02:00
Tau Gärtli
b9b981f657
Generalize --detect-color-scheme to --color-scheme
2024-08-16 14:14:30 +02:00
Tau Gärtli
abf9dada04
Remove HighlightingAssets::default_theme()
2024-08-16 14:13:58 +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
1b0a6da4be
Use new default_theme
fn for --list-themes
2024-08-16 14:13:58 +02:00
Tau Gärtli
e8ca6ec7c3
Remove cargo feature
2024-08-16 14:13:18 +02:00
Tau Gärtli
6498615f5f
Improve upon the documentation
2024-08-16 14:13:18 +02:00
Tau Gärtli
30b0143ccf
Make default_theme pub
2024-08-16 14:13:17 +02:00
Tau Gärtli
ff81cfd584
Move actual detection into library
2024-08-16 14:13:16 +02:00
Tau Gärtli
cea45e05f3
Expose new theme selection in CLI
2024-08-16 14:12:22 +02:00
Tau Gärtli
cda363a3f7
Use default_theme()
function from theme module
2024-08-16 14:09:38 +02:00
Tau Gärtli
de796392cf
Deprecate old default_theme
function
2024-08-16 14:09:38 +02:00