Commit Graph

48 Commits (master)

Author SHA1 Message Date
Martin Nordholts fc9546854f Bump version to v0.24.0
We need to bump 0.x.0 because the library API changed in incompatible
ways:

    $ cargo public-api diff
    Resolved `diff` to `diff 0.23.0`
    Removed items from the public API
    =================================
    (none)

    Changed items in the public API
    ===============================
    -pub fn bat::controller::Controller<'b>::run(&self, inputs: alloc::vec::Vec<bat::input::Input<'_>>) -> bat::error::Result<bool>
    +pub fn bat::controller::Controller<'b>::run(&self, inputs: alloc::vec::Vec<bat::input::Input<'_>>, output_buffer: core::option::Option<&mut dyn core::fmt::Write>) -> bat::error::Result<bool>
    -pub fn bat::controller::Controller<'b>::run_with_error_handler(&self, inputs: alloc::vec::Vec<bat::input::Input<'_>>, handle_error: impl core::ops::function::Fn(&bat::error::Error, &mut dyn std::io::Write)) -> bat::error::Result<bool>
    +pub fn bat::controller::Controller<'b>::run_with_error_handler(&self, inputs: alloc::vec::Vec<bat::input::Input<'_>>, output_buffer: core::option::Option<&mut dyn core::fmt::Write>, handle_error: impl core::ops::function::Fn(&bat::error::Error, &mut dyn std::io::Write)) -> bat::error::Result<bool>

    Added items to the public API
    =============================
    [...]
8 months ago
rhysd d376a4b631 Add support for WGSL 8 months ago
David Peter 949f207275 Update binary assets 1 year ago
David Peter 1f9519d8b9 Update binary assets 2 years ago
Martin Nordholts 405e5f7460 assets/create.sh 2 years ago
Martin Nordholts 7334ab4542
Bump to syntect 5.0.0 to e.g. start lazy-loading syntaxes (#2181)
* Bump to syntect 5.0.0 to e.g. start lazy-loading themes

Closes #915
Closes #951
Closes #1846
Closes #1854

* Typo fix formated -> formatted

* Update CHANGELOG.md
2 years ago
Martin Nordholts 0655ecf23d Prepare for v0.20.0 release
Since we have added new enum variants to the `StyleComponent` which was
not previously marked `#[non_exhaustive]`, we must bump left-most
non-zero version number (see
[specifying-dependencies](https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#specifying-dependencies-from-cratesio)).
Otherwise client code that do exhaustive matches on `StyleComponent`
will stop compiling.
2 years ago
Martin Nordholts 59a8f58be7 Run `assets/create.sh` 2 years ago
David Peter 3da4651569 Update Julia syntax, closes #1692 3 years ago
David Peter 311ed2feca Update assets 3 years ago
Mohamed Abdelnour 7c49919297 Add support for XAML files 3 years ago
David Peter f827ed338b Update binary assets 3 years ago
Sean McLoughlin d89fa3ebc2 Add SystemVerilog support 3 years ago
David Peter a98811b6d7 Update syntaxes and themes 3 years ago
Ensar Sarajčić 29ea396c31 Improve VimL regex highlighting
**NOTES:**
- PR is not yet merged in upstream repository (https://github.com/SalGnt/Sublime-VimL/pull/12),
but sublime-syntax file is already updated with changes.
- Updated syntax test files are added as well

This fixes #1064
3 years ago
sharkdp 15b122a448 Update syntax cache 4 years ago
sharkdp e6565b2134 Update syntaxes 4 years ago
sharkdp 1ecb70e082 Update email syntax output 4 years ago
Dash Peters fcf5ec2f77 Add syntaxes.bin changes 4 years ago
sharkdp 9cb43ef64d Update tests 4 years ago
sharkdp e54e218e3b Update binary assets 4 years ago
sharkdp 406bffa8c8 Update syntaxes and themes 4 years ago
sharkdp 47abb192bc Patch Rust syntax file
closes #924
4 years ago
sharkdp 3447a03433 Update dependencies 4 years ago
sharkdp 32346612b7 Move syntaxes, fixes #874 4 years ago
sharkdp 916c1e4359 Update assets 4 years ago
Ben Iofel 7ba5bc78b7 Update sublimehq/Packages to master 5 years ago
Luna 853e48e3f3 Allow underscores and dashes in page names to fix highlighting issues with pages such as signal-safety or posix_openpt. 5 years ago
sharkdp 79f016e15c Update syntaxes 5 years ago
sharkdp d2492980c0 Update syntaxes and themes 5 years ago
sharkdp 3c4384990d Update syntaxes and themes 5 years ago
sharkdp 31608c9a03 Update syntaxes 5 years ago
Markus Thömmes dd48d29c28 Add AsciiDoc syntax. 6 years ago
sharkdp e79c5516bf Bump version, update assets 6 years ago
sharkdp a770cbf25e Update assets 6 years ago
sharkdp 5842d58c01 Updates for syntect 3.0 6 years ago
Tim Sampson e3c71adba7 syntax: Add robot framework support 6 years ago
sharkdp 238482e5f3 Update syntax-set, fixes #314 6 years ago
sharkdp 54c434934e Bump version, update assets 6 years ago
sharkdp 839e4ee611 Bump version 6 years ago
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
6 years ago
sharkdp 2966939e38 Update submodules 6 years ago
sharkdp 3a0941cabe Update syntaxes.bin 6 years ago
Gert Hulselmans 3f8b340ed8 Add AWK syntax. 6 years ago
sharkdp 54f4896ced Update syntaxes, fix CMake syntax problem 6 years ago
sharkdp 54a331d162 Add syntax docu, add VimL, CMake, INI, LESS syntax
closes #99
closes #106
6 years ago
sharkdp f7890870ea Add syntax for Dockerfiles
closes #101
6 years ago
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"
6 years ago