sharkdp
54f4896ced
Update syntaxes, fix CMake syntax problem
6 years ago
sharkdp
9d92350cbb
Use default Markdown syntax, closes #157
6 years ago
sharkdp
26d409db65
Add 'rouge' to list of alternatives
6 years ago
sharkdp
06cd4b2ce8
Add 'coderay' to list of alternatives
6 years ago
sharkdp
a348a9f68e
Handle syntax-set loading errors
6 years ago
sharkdp
39e2971e96
Add .ignore files to avoid searching asset folders
6 years ago
TA Thanh Dinh
a13eb60df3
Using slice notation instead of as_ref
6 years ago
sharkdp
9342d0bb24
Explicitly specify which args override themselves
6 years ago
sharkdp
36d7250af2
Allow arguments to override themselves
6 years ago
Ezinwa Okpoechi
2ce8655167
Build bat before generating snapshots
6 years ago
Ezinwa Okpoechi
a452467e06
Remove unnecessary space if there are no decorations
6 years ago
Ezinwa Okpoechi
2ea3758c4b
Justify header when there are decorations but no grid
6 years ago
Gert Hulselmans
65bb4c7ee6
Print themes directory in error message if no themes could be loaded from it.
...
Before this patch:
$ bat cache --init
[bat error]: Could not load themes from '{}'
After:
$ bat cache --init
[bat error]: Could not load themes from '/home/user/.config/bat/themes'
6 years ago
sharkdp
556149ad3a
Add comparison benchmark
6 years ago
Gert Hulselmans
33bbf25468
Fix launching of pager so text is interpreted as UTF-8 by default.
...
This fixes issue https://github.com/sharkdp/bat/issues/98
6 years ago
sharkdp
5ee8913538
Add logo header to README
6 years ago
David Peter
9b1c1c0271
Add more benchmark results
6 years ago
Ezinwa Okpoechi
2712d63a4b
Move asset clearing to assets module
6 years ago
Ezinwa Okpoechi
b21fb6bca8
Extract features to separate module
6 years ago
Ezinwa Okpoechi
ee43377a9c
Move colors to printer module
6 years ago
Ezinwa Okpoechi
120b33a9db
Move output to separate module
6 years ago
sharkdp
17b37fedcb
Add project goals and list of alternatives
6 years ago
sharkdp
1013cdd80a
Bump version
6 years ago
sharkdp
be0a2d6048
Extended help texts for '--help'
6 years ago
sharkdp
d1a1943998
Add -u and -n options, see #134
6 years ago
sharkdp
2a9f5a24ed
Permissive error handling, closes #17
6 years ago
sharkdp
a0ae089c4a
Reset line number to 0 for new files
6 years ago
sharkdp
96cc391f2d
Skip '--quit-if-one-screen' for --paging=always
...
closes #97
6 years ago
sharkdp
a1e1170319
Add a few popular Sublime Text themes
6 years ago
sharkdp
54a331d162
Add syntax docu, add VimL, CMake, INI, LESS syntax
...
closes #99
closes #106
6 years ago
sharkdp
5e3b17e6f7
Fix code formatting
6 years ago
eth-p
486e6a19cd
Fixed #124
6 years ago
Ezinwa Okpoechi
247dfbee83
Extract syntax finding to assets module
6 years ago
Ezinwa Okpoechi
882931a77b
Update snapshots
6 years ago
Ezinwa Okpoechi
12cb438aa4
Handle line with invalid UTF-8
6 years ago
Ezinwa Okpoechi
d0782ef954
Add line with invalid UTF-8
6 years ago
sharkdp
c826c2a438
Better error handling
6 years ago
sharkdp
9aa97b6c22
Update to latest syntect, closes #100
6 years ago
sharkdp
f7890870ea
Add syntax for Dockerfiles
...
closes #101
6 years ago
sharkdp
145b99f01c
Include syntaxes and themes in repository
...
This changes a few things:
- All syntaxes and themes are now stored (as submodules) under
assets/syntaxes and assets/themes
- The default directories for syntaxes and themes are "syntaxes"
and "themes" (used to be "syntax" and "themes")
- The "bat cache" command can now take a `--source <dir>` and
`--target <dir>` option.
- The cached files have been renamed to "themes.bin" and "syntaxes.bin"
6 years ago
Mateusz Piotrowski
9af1d2b891
Add FreeBSD installation instructions
...
Closes #41 .
6 years ago
David Peter
2eee68599d
Merge pull request #102 from eth-p/master
...
Added text wrapping. (Fixes #54 )
6 years ago
eth-p
d569693dab
Formatted with newer cargo fmt.
...
It should pass all the checks now.
6 years ago
eth-p
900f61032d
Fix #117
6 years ago
eth-p
d0ca566979
Replace for_line and for_wrap with generate
6 years ago
eth-p
a5a7dc14e4
Fix \r character being printed with wrapping enabled.
6 years ago
sharkdp
54b33c8c21
Add simple benchmark scripts
6 years ago
rleungx
a5de77af4d
address comment
6 years ago
rleungx
870ff7b538
sort the language listing
6 years ago
sharkdp
15b9acd12f
Updates for new rustfmt
6 years ago