Commit graph

787 commits

Author SHA1 Message Date
Ethan P
ab2a6ad1d5 Add more colors to fstab syntax 2019-10-29 09:20:14 +01:00
Ethan P
7db30f9123
Merge pull request #705 from MarcoFalke/patch-1
doc: Add Ubuntu/Debian bat package to Readme
2019-10-28 15:44:06 -07:00
Ethan P
59f2b30768
Merge pull request #696 from flopp/fstab-syntax
Add fstab syntax definitions
2019-10-28 15:41:56 -07:00
Anubhab Ghosh
9fb14d78e1 Add syntax highlighting for /etc/resolv.conf 2019-10-28 21:29:29 +01:00
MarcoFalke
921a65f0a1
Update README.md 2019-10-28 16:26:28 -04:00
MarcoFalke
b9c07e52e8
doc: Add Ubuntu/Debian bat package to Readme
Documentation update to fix #323
2019-10-26 10:33:17 -04:00
Anubhab Ghosh
edbb4b2fc9 Add syntax highlighting for /etc/passwd file 2019-10-24 08:20:46 +02:00
Anubhab Ghosh
15b1676b72 Add syntax highlighting for /etc/group file 2019-10-24 08:20:46 +02:00
Florian Pigorsch
753a124ef2 Add some comments 2019-10-21 22:00:39 +02:00
Florian Pigorsch
58a4d009fa Add fstab file syntax 2019-10-21 21:56:24 +02:00
Fahmi Akbar Wildana
4664fb6f91 Remove comment in both examples
```diff
-// add_file()
```
2019-10-20 21:43:51 +02:00
Fahmi Akbar Wildana
e287594654 Fix compile-error on Rust v1.35.0 2019-10-20 21:43:51 +02:00
Fahmi Akbar Wildana
1e19404736 Add 2 examples 2019-10-20 21:43:51 +02:00
Fahmi Akbar Wildana
2253d07341 Derive fmt::Debug whenever possible 2019-10-20 21:43:51 +02:00
Fahmi Akbar Wildana
7208a63a49 Implement trait Default for struct Config 2019-10-20 21:43:51 +02:00
Fahmi Akbar Wildana
0273848f54 Run cargo fmt 2019-10-20 21:43:51 +02:00
Fahmi Akbar Wildana
e542621125 Move back printer.rs and others into lib
others:
bin/bat/{controller,decorations,output,printer}.rs
2019-10-20 21:43:51 +02:00
Fahmi Akbar Wildana
26439b41d2 Move Config,PagingMode from app.rs into lib.rs 2019-10-20 21:43:51 +02:00
Fahmi Akbar Wildana
a2ee753b25 Move config.rs into src/bin/bat/ 2019-10-20 21:43:51 +02:00
Fahmi Akbar Wildana
d3243903c0 Add --bins flag in CI before_deploy 2019-10-20 21:43:51 +02:00
Fahmi Akbar Wildana
cf68b13322 Fix CI 'src/main.rs': No such file or directory 2019-10-20 21:43:51 +02:00
Fahmi Akbar Wildana
837d0998da Remove unused macros in bin/bat 2019-10-20 21:43:51 +02:00
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
2019-10-20 21:43:51 +02:00
Fahmi Akbar Wildana
e981bd88c1 Move src/bin/* into src/bin/bat/
This will limit [[bin]] to *bat* only which will make:
- `cargo run` works without specifying --bin
- prevent `cargo build --bins` to produce multiple binaries (app,clap_app,...)
2019-10-20 21:43:51 +02:00
Fahmi Akbar Wildana
710a1df4ff Fix all compile warnings in lib.rs 2019-10-20 21:43:51 +02:00
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
2019-10-20 21:43:51 +02:00
Fahmi Akbar Wildana
eefdb186b8 Add lib.rs 2019-10-20 21:43:51 +02:00
Fahmi Akbar Wildana
fc0ad4db2e Move {main,app,clap_app}.rs into src/bin/ 2019-10-20 21:43:51 +02:00
sharkdp
f03b45f3e5 Update TOML syntax 2019-10-20 20:48:14 +02:00
sharkdp
9a74bf1a88 Disable nightly build 2019-10-19 18:20:15 +02:00
David Peter
ff0b331dd6
Add llvm/libclang install instructions. 2019-10-15 21:40:38 +02:00
sharkdp
00bfbbf884 Add section concerning file encodings, see #568 2019-10-11 21:47:40 +02:00
Clar Fon
e44045a71a Add Dracula theme 2019-10-11 20:18:22 +02:00
Ethan P
962abcef80 Update create.sh to quickly check for and update missing submodules 2019-10-10 23:49:39 +02:00
Ethan P
95f2e5bbb7 Ensure submodules are updated before creating asset cache 2019-10-10 23:49:39 +02:00
David Peter
f46123e149
Add sponsor links as an experiment :-) 2019-10-07 19:43:36 +02:00
Martin Polreich
f0f77b1673 Add SaltStack SLS syntax 2019-10-06 21:26:46 +02:00
Rogelio Domínguez Hernández
39112e80c3 cmake and libz are not needed to install bat
Closes sharkdp#649
2019-10-06 20:34:14 +02:00
Rogelio Domínguez Hernández
a84c598e2c cmake and libz are not needed to install bat
Closes #649
2019-10-06 20:34:14 +02:00
Bernard Niset
6b2f78ec51 Add MacPorts instructions 2019-09-30 21:21:43 +02:00
Ethan P
938005864f
Merge pull request #676 from sharkdp/dependabot/cargo/liquid-0.19.0
Bump liquid from 0.18.2 to 0.19.0
2019-09-30 10:37:13 -07:00
dependabot-preview[bot]
3a5f8ece49
Bump liquid from 0.18.2 to 0.19.0
Bumps [liquid](https://github.com/cobalt-org/liquid-rust) from 0.18.2 to 0.19.0.
- [Release notes](https://github.com/cobalt-org/liquid-rust/releases)
- [Changelog](https://github.com/cobalt-org/liquid-rust/blob/master/CHANGELOG.md)
- [Commits](https://github.com/cobalt-org/liquid-rust/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-30 02:17:48 +00:00
Ethan P
047a6f3b85
Merge pull request #673 from eth-p/fix-659
Parameterized documentation.
2019-09-28 18:58:35 -07:00
Ethan P
f09b75dafa
Revert changing generated file names based on parameters
It should be handled by a packaging script, not a build script.
2019-09-27 12:34:08 -07:00
Ethan P
54ec2e7bd0
Fix CI before_deploy to use parameterized names 2019-09-27 12:29:22 -07:00
Ethan P
e57b2e9528
Add generated files to gitignore 2019-09-27 12:14:43 -07:00
Ethan P
ea2179b352
Update fish completions to use parameterized names 2019-09-27 12:13:55 -07:00
Ethan P
c8478cedc5
Update manual page to use parameterized names 2019-09-27 12:06:54 -07:00
Ethan P
1692e5fef7
Merge pull request #669 from sharkdp/fix-666
Fix 'bat cache other-arg'
2019-09-27 10:57:01 -07:00
Ben Iofel
7ba5bc78b7 Update sublimehq/Packages to master 2019-09-23 08:58:56 +02:00