Commit Graph

301 Commits

Author SHA1 Message Date
sharkdp
518997135e Merge branch 'ssh-config' of https://github.com/issmirnov/bat into issmirnov-ssh-config 2019-06-07 08:17:04 +02:00
Ivan Smirnov
69fc1caead Add support for "etc/hosts" files.
- Syntax author: https://github.com/brandonwamboldt/sublime-hosts

Since the upstream version only has a tmLanguage, added a sublime-syntax
file manually.
2019-06-07 08:02:38 +02:00
Ivan Smirnov
175dd4c290 Add SSH config syntax
Tested:
```
bash assets/create.sh
cargo build
target/debug/bat --language ssh_config ~/.ssh/config
```
2019-06-06 20:01:23 -07:00
sharkdp
3795acbd17 Add '.env' (DotENV) syntax 2019-05-31 21:05:34 +02:00
sharkdp
c7d08cfcfd Add 'requirements.txt' syntax 2019-05-31 20:58:08 +02:00
Brice Waegeneire
dfa024f9e6 Add Org mode syntax, closes sharkdp#36 2019-05-29 19:52:06 +02:00
Tim Sampson
d72549a873 add fish shell syntax definition 2019-04-25 17:52:21 +02:00
Björn
c96927b550 Update F# syntax 2019-04-04 21:11:19 +02:00
sharkdp
3a5c52641b Update assets/syntaxes/Packages 2019-02-07 22:53:18 +01:00
Harald Hoyer
91deef8b13 add varlink syntax
Varlink is an interface description format and protocol that aims
to make services accessible to both humans and machines in the
simplest feasible way.

See: https://varlink.org/ and https://github.com/varlink/ for
more information
2019-02-07 07:40:22 +01:00
Okumura Takahiro
f3f9f10f05 Add Jsonnet (*.jsonnet) syntax
Jsonnet: https://jsonnet.org/
sublime-syntax: https://github.com/gburiola/sublime-jsonnet-syntax
2019-02-04 23:28:39 +01:00
Benjamin Santos
ae08785ec8 Add Terraform syntax 2019-01-28 20:09:56 +01:00
sharkdp
c483e49b92 Consistent naming for submodules 2019-01-20 10:22:35 +01:00
Benjamin
94c9b40694 Protobuf-syntax and ProtobufText syntax (#474) 2019-01-20 10:20:53 +01:00
Benjamin Santos
3b5174bb1d Add syslog-syntax 2019-01-18 07:24:46 +01:00
sharkdp
5d3205acc0 Add x86_64 Assembly manually 2018-12-14 23:07:11 +01:00
sharkdp
4e6816abd6 Remove problematic 'Assembly (x86_64)' submodule 2018-12-14 23:07:11 +01:00
sharkdp
d2d29180a7 Add ARM assembly 2018-12-14 22:52:57 +01:00
sharkdp
2f263c9fbf Add x86_64 assembly 2018-12-14 22:46:50 +01:00
Markus Thömmes
dd48d29c28 Add AsciiDoc syntax. 2018-12-11 21:12:29 +01:00
Jerome Leclanche
4e43f8fa74 Highlight XDG desktop entry as .ini file
Reference: https://standards.freedesktop.org/desktop-entry-spec/latest/
2018-11-19 18:48:36 +01:00
Ahmed El Gabri
778a4929a8 Add twig support 2018-11-18 11:58:05 +01:00
sharkdp
1f9befbcd1 Update SHA1 in TOML submodule 2018-11-05 19:37:23 +01:00
sharkdp
50dc4a79b0 Display line-feed as instead of 2018-11-01 22:00:47 +01:00
sharkdp
8fa8f44706 Use character if tab-width == 1. 2018-11-01 22:00:47 +01:00
sharkdp
ecd862d9ff Feature: Highlight non-printable characters
Adds a new `-A`/`--show-all` option (in analogy to GNU Linux `cat`s option) that
highlights non-printable characters like space, tab or newline.

This works in two steps:
- **Preprocessing**: replace space by `•`, replace tab by `├──┤`, replace
newline by `␤`, etc.
- **Highlighting**: Use a newly written Sublime syntax to highlight
these special symbols.

Note: This feature is not technically a drop-in replacement for GNU `cat`s
`--show-all` but it has the same purpose.
2018-11-01 22:00:47 +01:00
Tim Sampson
e3c71adba7 syntax: Add robot framework support 2018-10-09 20:27:01 +02:00
sharkdp
e1345cdc2a Update VimL syntax 2018-10-05 18:44:51 +02:00
Tuk Bredsdorff
1b30539493 Added Mercurial's hgrc-files to the list of INI-extensions 2018-09-22 11:23:29 +02:00
sharkdp
97129ab9d8 Add PowerShell syntax, closes #306 2018-09-12 20:53:49 +02:00
Miguel Madrid Mencía
97efd75cee Add Crystal syntax 2018-09-05 23:45:09 +02:00
sharkdp
ba00caf9c3 Add Swift syntax 2018-09-05 21:56:49 +02:00
sharkdp
ac418ba21c Add PureScript syntax 2018-09-05 21:50:16 +02:00
sharkdp
021a68eb21 Add F# syntax, closes #284 2018-09-05 21:38:35 +02:00
David Peter
80ae2ecbf8
Merge branch 'master' into add-jsx-syntax 2018-09-05 20:51:03 +02:00
David Peter
c90f0b8e21
Merge branch 'master' into support-cabal-syntax 2018-09-05 20:43:50 +02:00
David Peter
4b866ab6af
Merge branch 'master' into add-jsx-syntax 2018-09-05 20:36:31 +02:00
Tobenna
2dbd91e543 Add Dart syntax 2018-09-05 20:33:16 +02:00
Tobenna Ndu
785da3d9df Add support for cabal syntax 2018-09-05 14:42:27 +01:00
Tobenna
d455cb7c32 Add support for JSX in javascript and typescript 2018-09-05 08:49:33 +01:00
sharkdp
3447ed4def Add CSV syntax, closes #254 2018-09-03 21:49:26 +02:00
sharkdp
1088455702 Add syntaxes for Elm, Kotlin, Puppet, TypeScript
closes #215
closes #216
closes #217
closes #218
2018-08-28 19:36:31 +02:00
sharkdp
2966939e38 Update submodules 2018-08-18 19:30:35 +02:00
sharkdp
52877c6d67 Add Nix syntax, closes #180 2018-07-17 23:28:31 +02:00
sharkdp
455de98a89 Update sublimehq/Packages, closes #183 2018-07-17 23:27:19 +02:00
Gert Hulselmans
3f8b340ed8 Add AWK syntax. 2018-06-15 16:41:51 +02:00
sharkdp
54f4896ced Update syntaxes, fix CMake syntax problem 2018-05-30 20:43:50 +02:00
sharkdp
9d92350cbb Use default Markdown syntax, closes #157 2018-05-30 20:40:02 +02:00
sharkdp
54a331d162 Add syntax docu, add VimL, CMake, INI, LESS syntax
closes #99
closes #106
2018-05-18 19:57:58 +02:00
sharkdp
f7890870ea Add syntax for Dockerfiles
closes #101
2018-05-16 22:04:12 +02:00
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"
2018-05-16 22:04:12 +02:00