sharkdp
48a7ce3bf2
Write error messages to pager, if attached
...
closes #946
2020-04-25 13:08:00 +02:00
Lzu Tao
3bcc4d0d55
lto=true and codegen-units=1 together
2020-04-24 17:39:25 +02:00
Lzu Tao
8821bca656
appveyor: Use rustup minimal profile
2020-04-24 17:39:25 +02:00
Lzu Tao
56111aa20d
simplify build.rs
2020-04-24 17:39:25 +02:00
sharkdp
5fe8a8342b
Add annotations again
2020-04-24 16:51:11 +02:00
sharkdp
989109145a
Add '-d' for '--diff'
2020-04-24 16:12:38 +02:00
sharkdp
23afc8e90c
Skip non-file inputs when using --diff
2020-04-24 16:12:38 +02:00
sharkdp
8e18786556
Run 'cargo fmt'
2020-04-24 16:11:05 +02:00
sharkdp
81488adf8b
Use unreachable!(…)
2020-04-24 16:11:05 +02:00
Lzu Tao
e37e9c1214
Fix some clippy lints
...
Some might actually improve perf
2020-04-24 16:11:05 +02:00
Lzu Tao
a4828387c1
simplify build.rs
2020-04-24 16:11:05 +02:00
sharkdp
abeac8b12e
Bump min. required Rust version to 1.40
2020-04-24 09:57:57 +02:00
sharkdp
82e7786e74
Implementation of 'bat --diff'
...
This adds a new `--diff` option that can be used to only show lines
close to Git changes (added/removed/modified lines). The amount of
additional context can be controlled with `--diff-context=N`.
closes #23
2020-04-24 09:57:57 +02:00
sharkdp
0064321323
cargo fmt
2020-04-23 00:56:35 +02:00
sharkdp
9e622a1a5f
Update version in README
2020-04-23 00:56:27 +02:00
sharkdp
59ca933aee
Update dependencies
2020-04-22 23:59:35 +02:00
sharkdp
793af6b911
Add a syntax mapping for bats own config file
2020-04-22 23:58:41 +02:00
sharkdp
c8abe3f235
Update CHANGELOG
2020-04-22 23:56:20 +02:00
sharkdp
5d71056209
Fix import in app
2020-04-22 23:55:28 +02:00
sharkdp
eb7d4d002a
Update documentation
2020-04-22 23:55:28 +02:00
sharkdp
62b32bd848
Make module private
2020-04-22 23:55:28 +02:00
sharkdp
8961f7aef8
Move PagingMode to separate module
2020-04-22 23:55:28 +02:00
sharkdp
17f3a3b95d
Simpler highlight method
2020-04-22 23:55:28 +02:00
sharkdp
261a7ea154
Add *_with_name methods
2020-04-22 23:55:28 +02:00
sharkdp
53a973e9dd
Add syntaxes and themes method
2020-04-22 23:55:28 +02:00
sharkdp
cba9df746e
Add paging to advanced example
2020-04-22 23:55:28 +02:00
sharkdp
12eee0c590
Fix warnings for --no-default-features mode
2020-04-22 23:55:28 +02:00
sharkdp
b76f5e72d4
Use unwrap
2020-04-22 23:55:28 +02:00
sharkdp
702cb198da
Rename error module
2020-04-22 23:55:28 +02:00
sharkdp
5f826419d1
Add YAML example
2020-04-22 23:55:28 +02:00
sharkdp
13f671b499
Update examples
2020-04-22 23:55:28 +02:00
sharkdp
49f4322054
Fix example
2020-04-22 23:55:28 +02:00
sharkdp
0c9e044e41
Update 'cat' example
2020-04-22 23:55:28 +02:00
sharkdp
74d4377ed2
Add advanced example
2020-04-22 23:55:28 +02:00
sharkdp
6a124591df
Easier configuration of style components
2020-04-22 23:55:28 +02:00
sharkdp
7a87315b94
Fix #937
2020-04-22 23:55:28 +02:00
sharkdp
0cde4e9121
Numbers => LineNumbers
2020-04-22 23:55:28 +02:00
sharkdp
36dde9275a
Simplify style_components
2020-04-22 23:55:28 +02:00
sharkdp
a8f759c080
Rename wrap => wrapping
2020-04-22 23:55:28 +02:00
sharkdp
f034be71e7
rename run => print
2020-04-22 23:55:28 +02:00
sharkdp
eee35e54e9
Update documentation
2020-04-22 23:55:28 +02:00
sharkdp
ec0ce05455
Better API for highlighting lines
2020-04-22 23:55:28 +02:00
sharkdp
13e6b3fac7
Reduce public API
2020-04-22 23:55:28 +02:00
sharkdp
26c951fec4
Fix warnings, sort imports, input from string
2020-04-22 23:55:28 +02:00
sharkdp
590960f7f5
Completely refactor 'input' module
2020-04-22 23:55:28 +02:00
sharkdp
b4d54106fe
Fix comment
2020-04-22 23:55:28 +02:00
sharkdp
f3b90ddb38
Add InputDescription
2020-04-22 23:55:28 +02:00
sharkdp
3bacfc5184
Allow fluent style
2020-04-22 23:55:28 +02:00
sharkdp
f8d0956893
Rename InputFile => Input
2020-04-22 23:55:28 +02:00
sharkdp
1dc328ad49
Separate inputs from config
2020-04-22 23:55:28 +02:00