481268f018
Doc: add Chinese readme link
...
#251
2018-10-19 22:00:05 +02:00
f7d9f49503
Remove leftovers from tab-tests
2018-10-19 21:57:35 +02:00
88fcfd76aa
cargo fmt
2018-10-19 21:04:46 +02:00
76e34b29ec
Avoid empty line in snapshot
2018-10-19 21:04:46 +02:00
01984e1d02
Test 'tabs' with 'numbers'
2018-10-19 21:04:46 +02:00
536390509f
remove --wrap for now
2018-10-19 21:04:46 +02:00
58198d0700
rewrite 6 snapshot tests as integration test
2018-10-19 21:04:46 +02:00
afc5aacb28
Move tabs_* snapshot tests to integration_tests
2018-10-19 21:04:46 +02:00
30b742e984
--map-syntax takes just one value
v0.8.0
2018-10-17 23:27:44 +02:00
671deeef8c
Update help text
2018-10-17 23:17:28 +02:00
a892caeb33
Bump bat version to 0.8
2018-10-17 23:15:59 +02:00
a770cbf25e
Update assets
2018-10-17 23:14:07 +02:00
931c6e9414
Update man page
2018-10-17 23:13:50 +02:00
8dc7e2efa3
Add --config-file option
2018-10-17 23:08:37 +02:00
10965a6122
Implement syntax mapping
...
This adds a `-m`/`--map-syntax` option that allows users to (re)map
certain file extensions or file names to an existing syntax.
For example:
```
bat --map-syntax .config:json
```
The option can be use multiple times. Note that you can easily make
these mappings permanent by using `bat`s new configuration file.
closes #169
2018-10-17 23:08:19 +02:00
e43d97dc15
Small cleanup
2018-10-17 21:12:23 +02:00
2c7087b8de
Add integration tests for pager handling
2018-10-17 21:08:32 +02:00
bb1f5aa841
Add proper handling of empty PAGER variables
2018-10-17 21:08:32 +02:00
2109a7830b
Add error handling for parsing errors
2018-10-17 21:08:32 +02:00
ec27c78a8a
Remove duplicate 'extern crate'
2018-10-17 21:08:32 +02:00
67fe833bc8
Add arguments from PAGER/BAT_PAGER
...
Solves #352
Signed-off-by: Morten Linderud <morten@linderud.pw >
2018-10-17 21:08:32 +02:00
e956225b4d
Update syntect to 3.0.1
...
closes #314
2018-10-16 23:06:46 +02:00
314ec881ef
Bump Rust version
2018-10-16 22:09:15 +02:00
25a6a55437
Revert "Fix for older version of Rust"
...
This reverts commit c530fadc44
.
2018-10-16 22:09:15 +02:00
5bff4548be
Add BAT_OPTS environment variable
2018-10-16 22:09:15 +02:00
866b9e16a8
Add error handling
2018-10-16 22:09:15 +02:00
5af176c94f
Move transpose to util module
2018-10-16 22:09:15 +02:00
9e7da05459
Fix for older version of Rust
2018-10-16 22:09:15 +02:00
1ae02c65fb
Fix include
2018-10-16 22:09:15 +02:00
495e7fd3b1
Add --no-config option
2018-10-16 22:09:15 +02:00
b48f0fe389
Fix tests
2018-10-16 22:09:15 +02:00
c19c704a43
Add more tests
2018-10-16 22:09:15 +02:00
693bd5929d
Add possibility for spaces on a single line
2018-10-16 22:09:15 +02:00
8275b0436d
Add simple configuration file
...
This allows users to create simple configuration file
(`~/.config/bat/config` on Linux) that has the following format:
```bash
--flag1
--flag2
--option1=value1
# lines beginning with '#' are ignored
--option2=value2
# empty lines and trailing whitespace are also ignored
--option3=value3
```
2018-10-16 22:09:15 +02:00
278bde5cee
Continue with output after "is directory"-error
2018-10-11 21:54:19 +02:00
eee7e5a575
Removes duplicate explanation.
2018-10-11 20:58:44 +02:00
ad7b634ee6
Fixes #328 - adds info for light backgrounds.
2018-10-11 20:58:44 +02:00
1310f83c8d
Update Docker alias for bat
2018-10-11 20:57:46 +02:00
897b9e7030
Add Docker instructions, closes #331
2018-10-11 20:05:17 +02:00
1891e194b5
Add simple integration tests
2018-10-11 07:06:13 +02:00
cea05e9f22
be consistent
2018-10-10 22:19:40 -06:00
d2d01b9fe8
Always remove the local cache when creating new assets
2018-10-10 21:49:03 +02:00
2a7851530d
Fix formatting
2018-10-10 20:45:10 +02:00
1a6709c2cb
add line highlight
2018-10-09 22:25:33 -06:00
5842d58c01
Updates for syntect 3.0
2018-10-09 22:04:51 +02:00
e3c71adba7
syntax: Add robot framework support
2018-10-09 20:27:01 +02:00
504f28b3a1
Documented nix availability
2018-10-09 20:07:27 +02:00
d977ba9194
Update dependencies
2018-10-08 22:33:09 +02:00
9c09799e1f
misc: add exec bit for create.sh
2018-10-08 20:20:05 +02:00
d83c93c805
Update README.md
2018-10-07 18:39:52 +02:00