sharkdp
eb7d4d002a
Update documentation
5 years ago
sharkdp
62b32bd848
Make module private
5 years ago
sharkdp
8961f7aef8
Move PagingMode to separate module
5 years ago
sharkdp
17f3a3b95d
Simpler highlight method
5 years ago
sharkdp
cba9df746e
Add paging to advanced example
5 years ago
sharkdp
702cb198da
Rename error module
5 years ago
sharkdp
49f4322054
Fix example
5 years ago
sharkdp
6a124591df
Easier configuration of style components
5 years ago
sharkdp
a8f759c080
Rename wrap => wrapping
5 years ago
sharkdp
f034be71e7
rename run => print
5 years ago
sharkdp
eee35e54e9
Update documentation
5 years ago
sharkdp
ec0ce05455
Better API for highlighting lines
5 years ago
sharkdp
13e6b3fac7
Reduce public API
5 years ago
sharkdp
26c951fec4
Fix warnings, sort imports, input from string
5 years ago
sharkdp
590960f7f5
Completely refactor 'input' module
5 years ago
sharkdp
f8d0956893
Rename InputFile => Input
5 years ago
sharkdp
057e4eced1
Large refactoring towards a better builder structure
5 years ago
sharkdp
27974616bf
Initial verison of PrettyPrinter builder
5 years ago
sharkdp
72618db179
Add metadata information to cached assets
...
When saving/reading user-provided syntaxes or themes, `bat` will now maintain a
`metadata.yaml` file which includes information about the `bat` version which was
used to create the cached files. When loading cached files, we now print an error
if they have been created with an incompatible version
closes #882
5 years ago
David Tolnay
570805bc98
Strip dependencies of bat-as-a-library
5 years ago
sharkdp
2c2861db6a
Further simplify module structure
5 years ago
sharkdp
bb0a3d586e
Simplify public API module structure
5 years ago
sharkdp
84ba323b1c
Rename output component to 'style compinent', move wrap to separate module
5 years ago
sharkdp
9b8ddb24d1
move Config struct to separate file
5 years ago
sharkdp
7e0115641d
Move error module to separate file
5 years ago
sharkdp
fedd32173e
Restructure and fix bug in line range module
5 years ago
sharkdp
06b7be7ee9
Major restructuring of theme/syntax handling
5 years ago
Liam Kalir
93881d9a64
Adds range syntax for line highlights
5 years ago
sharkdp
67fe804256
Do not pass '--no-init' on newer less versions
...
With this change, we do not pass the `--no-init` option in newer
versions of less (530 or higher).
This fixes #749
5 years ago
sharkdp
850677f121
Remove 'advanced' example
5 years ago
sharkdp
c132e19e74
Make a few modules private
5 years ago
sharkdp
3334f74b72
Remove custom 'transpose' function
5 years ago
Fahmi Akbar Wildana
e287594654
Fix compile-error on Rust v1.35.0
5 years ago
Fahmi Akbar Wildana
2253d07341
Derive fmt::Debug whenever possible
5 years ago
Fahmi Akbar Wildana
7208a63a49
Implement trait Default for struct Config
5 years ago
Fahmi Akbar Wildana
e542621125
Move back printer.rs and others into lib
...
others:
bin/bat/{controller,decorations,output,printer}.rs
5 years ago
Fahmi Akbar Wildana
26439b41d2
Move Config,PagingMode from app.rs into lib.rs
5 years ago
Fahmi Akbar Wildana
a2ee753b25
Move config.rs into src/bin/bat/
5 years ago
Fahmi Akbar Wildana
23d80f9e84
Fix all compile errors in bin/bat ➕
...
* Change `mod errors` in lib.rs to public
* Add `fn handle_error` in lib.rs errors module
5 years ago
Fahmi Akbar Wildana
710a1df4ff
Fix all compile warnings in lib.rs
5 years ago
Fahmi Akbar Wildana
cfd33168af
Fix all compile errors in lib.rs 🚚
...
* Move {controller,output,printer,decorations}.rs into src/bin/
* Add `mod errors` from main.rs
5 years ago
Fahmi Akbar Wildana
eefdb186b8
Add lib.rs
5 years ago