2
0
mirror of https://github.com/sharkdp/bat synced 2024-11-15 00:12:57 +00:00
Commit Graph

297 Commits

Author SHA1 Message Date
sharkdp
3967e28ded Add SCSS and Sass syntax, closes #637 2019-08-31 13:09:38 +02:00
sharkdp
2dc2a3712a Add Verilog syntax, closes #616 2019-08-31 12:59:02 +02:00
Dan Davison
f963104006 Add GraphQL sublime syntax submodule 2019-08-10 13:17:02 +02:00
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
sharkdp
3c4384990d Update syntaxes and themes 2019-05-15 22:12:02 +02:00
Ethan P
06b8dcb7eb Update fish completions for new --list-languages format 2019-05-14 22:50:42 +02:00
Ethan P
27e0ca98d9 Remove language completions for config files 2019-05-14 22:50:42 +02:00
Ethan P
1b2066c5f2 Add fish shell argument completions for --language option 2019-05-14 22:50:42 +02:00
Mitchell Kember
bb6594e691 Add 3 new themes: ansi-light, ansi-dark, base16
Also, interpret transparent colors (#RRGGBB00) as specifying a terminal
color palette number with RR. The three new themes use this.
2019-05-08 07:35:43 -05:00
Tim Sampson
7afdd44c43 cache/misc: be more cautious with bash 2019-04-25 17:52:21 +02:00
Tim Sampson
d72549a873 add fish shell syntax definition 2019-04-25 17:52:21 +02:00
evdev
cd6850947e Updated fish completions to include parameter completion for available themes, added cache subcommand completions 2019-04-13 10:59:22 +02:00
evdev
14bfedeb20 Updated fish completions to include parameter completion for flags: color, italic-text, decorations, paging, wrap 2019-04-13 10:59:22 +02:00
evdev
5e9351445f WIP: added manual minimal fish shell completions for current flags. Does not include flag sub-options like language lists or subcommands 2019-04-13 10:59:22 +02:00
Björn
c96927b550 Update F# syntax 2019-04-04 21:11:19 +02:00
sharkdp
cff01d81fa Rename 'bat cache --init' to 'bat cache --build' 2019-02-07 23:27:53 +01:00
sharkdp
31608c9a03 Update syntaxes 2019-02-07 23:01:06 +01: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
David Peter
3324505383
Update README.md 2019-01-16 20:04: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
David Peter
e6ffab3cb4 Update assets/README.md 2018-11-19 18:48:36 +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
0691b18231 Add assets/.gitattributes 2018-11-11 14:50:59 +01:00
sharkdp
e79c5516bf Bump version, update assets 2018-11-11 12:55:38 +01:00
sharkdp
b68c038db8 Update link to new issue 2018-11-11 11:08:08 +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
sharkdp
a25ee0e6fd Add sublime-snazzy theme 2018-10-20 11:32:25 +02:00
sharkdp
a770cbf25e Update assets 2018-10-17 23:14:07 +02:00
sharkdp
d2d01b9fe8 Always remove the local cache when creating new assets 2018-10-10 21:49:03 +02:00
sharkdp
5842d58c01 Updates for syntect 3.0 2018-10-09 22:04:51 +02:00
Tim Sampson
e3c71adba7 syntax: Add robot framework support 2018-10-09 20:27:01 +02:00
Tim Sampson
9c09799e1f misc: add exec bit for create.sh 2018-10-08 20:20:05 +02:00
sharkdp
e1345cdc2a Update VimL syntax 2018-10-05 18:44:51 +02:00
sharkdp
a2676ccc55 Workaround for #81 2018-10-04 11:09:41 +02:00
sharkdp
238482e5f3 Update syntax-set, fixes #314 2018-09-23 10:30:19 +02:00
sharkdp
6aa626f1c4 Document INI syntax modifications 2018-09-22 11:23:29 +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
54c434934e Bump version, update assets 2018-09-12 22:01:01 +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
67ec5fe2b7 Add OneHalf themes, closes #256 2018-09-03 22:12:41 +02:00
sharkdp
3447ed4def Add CSV syntax, closes #254 2018-09-03 21:49:26 +02:00
sharkdp
839e4ee611 Bump version 2018-08-28 23:21:35 +02:00
sharkdp
fd2b376ea0 Small style changes to --list-themes 2018-08-28 20:24:13 +02:00
ms2300
4ea3e6bbb7 Changed preview code 2018-08-28 20:24:13 +02:00
ms2300
2e3784aa30 #213 : output hello world for each theme when --list-theme is flagged 2018-08-28 20:24:13 +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
Colin Dean
4f812c32ab Adds zenburn theme submodule
Work towards #224 but @sharkdp is going to rebuild themes.bin
2018-08-28 07:37:27 +02:00
sharkdp
052425b12f Load customized themes in addition to defaults
- New themes in `$BAT_CONFIG_DIR/themes` are now loaded *in addition* to
  the default themes (they may also override).
- The `Default.tmTheme` symlink is not necessary anymore.

This relates to #172
2018-08-20 21:39:21 +02:00
sharkdp
2df3305b94 Add new '--blank' option for 'bat cache --init'
closes #206
2018-08-20 21:34:08 +02:00
sharkdp
2966939e38 Update submodules 2018-08-18 19:30:35 +02:00
sharkdp
3a0941cabe Update syntaxes.bin 2018-07-17 23:28:44 +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
39e2971e96 Add .ignore files to avoid searching asset folders 2018-05-25 17:44:50 +02:00
sharkdp
a1e1170319 Add a few popular Sublime Text themes 2018-05-18 20:41:40 +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
sharkdp
3ee0e56315 Update create.sh script 2018-05-13 09:53:30 +02:00
Eric Davies
091b0b6437 Add Julia highlighting support 2018-05-13 09:53:00 +02:00
sharkdp
b625d07c34 Use syntect newlines mode (instead of nonewlines) 2018-05-06 19:50:48 +02:00
sharkdp
23d92d7641 Add TOML sublime syntax, closes #37 2018-05-06 14:34:10 +02:00
sharkdp
92729430fc Add elixir sublime syntax 2018-05-06 14:26:58 +02:00
sharkdp
51b57ccdb7 Update syntax_set, closes #25, fixes #28 2018-05-01 09:23:04 +02:00
sharkdp
cc60ed6563 Add binary assets 2018-04-30 15:41:30 +02:00