2
0
mirror of https://github.com/sharkdp/bat synced 2024-11-08 19:10:41 +00:00
Commit Graph

112 Commits

Author SHA1 Message Date
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