Commit graph

808 commits

Author SHA1 Message Date
sharkdp
bb675e57c7 Remove manually converted fish syntax 2019-11-06 20:16:25 +01:00
dependabot-preview[bot]
9fe38e200e Bump assets/syntaxes/sublime-fish from 0795764 to 0f7d31b
Bumps [assets/syntaxes/sublime-fish](https://github.com/Phidica/sublime-fish) from `0795764` to `0f7d31b`.
- [Release notes](https://github.com/Phidica/sublime-fish/releases)
- [Commits](079576415a...0f7d31b43e)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-06 20:16:25 +01:00
dependabot-preview[bot]
a2fcb09d7a Bump assets/syntaxes/Protobuf from 5115c1c to 726e21d
Bumps [assets/syntaxes/Protobuf](https://github.com/VcamX/protobuf-syntax-highlighting) from `5115c1c` to `726e21d`.
- [Release notes](https://github.com/VcamX/protobuf-syntax-highlighting/releases)
- [Commits](5115c1c59a...726e21d74d)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-06 20:03:57 +01:00
dependabot-preview[bot]
8c7916e128 Bump assets/themes/sublime-monokai-extended from 1658f51 to 0ca4e75
Bumps [assets/themes/sublime-monokai-extended](https://github.com/jonschlinkert/sublime-monokai-extended) from `1658f51` to `0ca4e75`.
- [Release notes](https://github.com/jonschlinkert/sublime-monokai-extended/releases)
- [Commits](1658f51c15...0ca4e75291)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-06 20:03:21 +01:00
dependabot-preview[bot]
3d23daa7b4 Bump assets/syntaxes/LESS from d3ddfe7 to 4eada94
Bumps [assets/syntaxes/LESS](https://github.com/danro/LESS-sublime) from `d3ddfe7` to `4eada94`.
- [Release notes](https://github.com/danro/LESS-sublime/releases)
- [Commits](d3ddfe7b51...4eada94009)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-05 20:42:09 +01:00
dependabot-preview[bot]
572cbb00e2 Bump assets/syntaxes/PureScript from 42a61e3 to 5acebc1
Bumps [assets/syntaxes/PureScript](https://github.com/tellnobody1/sublime-purescript-syntax) from `42a61e3` to `5acebc1`.
- [Release notes](https://github.com/tellnobody1/sublime-purescript-syntax/releases)
- [Commits](42a61e39ad...5acebc1850)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-05 20:41:54 +01:00
dependabot-preview[bot]
dedaebdf15 Bump assets/syntaxes/Terraform from 3227a2d to c683495
Bumps [assets/syntaxes/Terraform](https://github.com/alexlouden/Terraform.tmLanguage) from `3227a2d` to `c683495`.
- [Release notes](https://github.com/alexlouden/Terraform.tmLanguage/releases)
- [Commits](3227a2d2a2...c683495c64)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-05 20:41:47 +01:00
dependabot-preview[bot]
3d90c6adee Bump assets/syntaxes/ssh-config from 86bfd1b to 17e23d7
Bumps [assets/syntaxes/ssh-config](https://github.com/robballou/sublimetext-sshconfig) from `86bfd1b` to `17e23d7`.
- [Release notes](https://github.com/robballou/sublimetext-sshconfig/releases)
- [Commits](86bfd1b090...17e23d7d38)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-05 20:41:37 +01:00
dependabot-preview[bot]
06a521ec34 Bump assets/themes/onehalf from 2516b37 to fdcbffe
Bumps [assets/themes/onehalf](https://github.com/sonph/onehalf) from `2516b37` to `fdcbffe`.
- [Release notes](https://github.com/sonph/onehalf/releases)
- [Commits](2516b37c3f...fdcbffe317)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-05 20:41:26 +01:00
sharkdp
37f7c94ba4 Properly add Twig submodule, closes #721 2019-11-05 20:33:16 +01:00
sharkdp
396e1ac6b6 Add simple pattern for command-line options 2019-11-05 07:13:33 +01:00
sharkdp
49e2073910 Highlight capitalized function calls / man page references 2019-11-05 07:13:33 +01:00
dependabot-preview[bot]
7d18649284 Bump console from 0.9.0 to 0.9.1
Bumps [console](https://github.com/mitsuhiko/console) from 0.9.0 to 0.9.1.
- [Release notes](https://github.com/mitsuhiko/console/releases)
- [Commits](https://github.com/mitsuhiko/console/compare/0.9.0...0.9.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-04 20:38:01 +01:00
sharkdp
850677f121 Remove 'advanced' example 2019-10-30 19:47:51 +01:00
sharkdp
c132e19e74 Make a few modules private 2019-10-30 19:47:51 +01:00
sharkdp
3334f74b72 Remove custom 'transpose' function 2019-10-30 19:47:51 +01:00
sharkdp
b9ce3c248c Simplify 'using_controller' example 2019-10-30 19:47:51 +01:00
David Peter
310654d49f Format "delta" like the other programs. 2019-10-30 19:47:37 +01:00
Dan Davison
3f37d292ec Point to delta in usage-with-git section of README 2019-10-30 19:47:37 +01:00
sharkdp
0a42d2b897 Add Nim syntax, closes #542 2019-10-30 19:47:24 +01:00
Helder M
3b5fcf4619 Update options sort order in --help and manpage file
This commit updates the sort order of --help options in order to improve
usability/importance putting most useful/used commands on top. In
addition to that, similar options were grouped together.
2019-10-29 19:54:25 +01:00
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