Commit Graph

500 Commits (1117d2f9cb179b4f171c55b113cff94fb87ee290)
 

Author SHA1 Message Date
yobrave 481268f018 Doc: add Chinese readme link
#251
6 years ago
sharkdp f7d9f49503 Remove leftovers from tab-tests 6 years ago
Lawrence Chou 88fcfd76aa cargo fmt 6 years ago
Lawrence Chou 76e34b29ec Avoid empty line in snapshot 6 years ago
Lawrence Chou 01984e1d02 Test 'tabs' with 'numbers' 6 years ago
Lawrence Chou 536390509f remove --wrap for now 6 years ago
Lawrence Chou 58198d0700 rewrite 6 snapshot tests as integration test 6 years ago
Lawrence Chou afc5aacb28 Move tabs_* snapshot tests to integration_tests 6 years ago
sharkdp 30b742e984 --map-syntax takes just one value 6 years ago
sharkdp 671deeef8c Update help text 6 years ago
sharkdp a892caeb33 Bump bat version to 0.8 6 years ago
sharkdp a770cbf25e Update assets 6 years ago
sharkdp 931c6e9414 Update man page 6 years ago
sharkdp 8dc7e2efa3 Add --config-file option 6 years ago
sharkdp 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
6 years ago
sharkdp e43d97dc15 Small cleanup 6 years ago
sharkdp 2c7087b8de Add integration tests for pager handling 6 years ago
sharkdp bb1f5aa841 Add proper handling of empty PAGER variables 6 years ago
sharkdp 2109a7830b Add error handling for parsing errors 6 years ago
sharkdp ec27c78a8a Remove duplicate 'extern crate' 6 years ago
Morten Linderud 67fe833bc8 Add arguments from PAGER/BAT_PAGER
Solves #352

Signed-off-by: Morten Linderud <morten@linderud.pw>
6 years ago
sharkdp e956225b4d Update syntect to 3.0.1
closes #314
6 years ago
sharkdp 314ec881ef Bump Rust version 6 years ago
sharkdp 25a6a55437 Revert "Fix for older version of Rust"
This reverts commit c530fadc44.
6 years ago
sharkdp 5bff4548be Add BAT_OPTS environment variable 6 years ago
sharkdp 866b9e16a8 Add error handling 6 years ago
sharkdp 5af176c94f Move transpose to util module 6 years ago
sharkdp 9e7da05459 Fix for older version of Rust 6 years ago
sharkdp 1ae02c65fb Fix include 6 years ago
sharkdp 495e7fd3b1 Add --no-config option 6 years ago
sharkdp b48f0fe389 Fix tests 6 years ago
sharkdp c19c704a43 Add more tests 6 years ago
sharkdp 693bd5929d Add possibility for spaces on a single line 6 years ago
sharkdp 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
    ```
6 years ago
sharkdp 278bde5cee Continue with output after "is directory"-error 6 years ago
Russ Taylor eee7e5a575 Removes duplicate explanation. 6 years ago
Russ Taylor ad7b634ee6 Fixes #328 - adds info for light backgrounds. 6 years ago
David Peter 1310f83c8d
Update Docker alias for bat 6 years ago
David Peter 897b9e7030
Add Docker instructions, closes #331 6 years ago
sharkdp 1891e194b5 Add simple integration tests 6 years ago
sharkdp d2d01b9fe8 Always remove the local cache when creating new assets 6 years ago
sharkdp 5842d58c01 Updates for syntect 3.0 6 years ago
Tim Sampson e3c71adba7 syntax: Add robot framework support 6 years ago
Merlin Göttlinger 504f28b3a1 Documented nix availability 6 years ago
Fredrik Fornwall d977ba9194 Update dependencies 6 years ago
Tim Sampson 9c09799e1f misc: add exec bit for create.sh 6 years ago
David Peter d83c93c805
Update README.md 6 years ago
sharkdp fc8fd1e63f cargo fmt 6 years ago
sharkdp 404d6a4a81 Update content_inspector version 6 years ago
sharkdp 25d96da4a2 Add support for UTF-16LE and UTF-16BE 6 years ago