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

499 Commits

Author SHA1 Message Date
ccQpein
503b2c5126 fix the prefix 2024-05-27 16:22:07 -04:00
ccQpein
61005f19fa patch the lisp syntax 2024-05-27 15:52:26 -04:00
Sharun
9eaed3e3f0
[JavaScript] Support bun in shebang for syntax highlighting (#2913)
* [JavaScript] Support bun in shebang for syntax highlighting

---------

Co-authored-by: Keith Hall <keith-hall@users.noreply.github.com>
2024-04-15 06:17:41 +00:00
dependabot[bot]
a1f85b9e06
Bump assets/syntaxes/02_Extra/Julia from 98233f9 to 3366b10 (#2918)
Bumps [assets/syntaxes/02_Extra/Julia](https://github.com/JuliaEditorSupport/Julia-sublime) from `98233f9` to `3366b10`.
- [Release notes](https://github.com/JuliaEditorSupport/Julia-sublime/releases)
- [Commits](98233f96d4...3366b10be9)

---
updated-dependencies:
- dependency-name: assets/syntaxes/02_Extra/Julia
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-01 02:47:26 +00:00
dependabot[bot]
95993cf37e
Bump assets/syntaxes/02_Extra/cmd-help from b150d84 to 209559b (#2841)
Bumps [assets/syntaxes/02_Extra/cmd-help](https://github.com/victor-gp/cmd-help-sublime-syntax) from `b150d84` to `209559b`.
- [Commits](b150d84534...209559b72f)

---
updated-dependencies:
- dependency-name: assets/syntaxes/02_Extra/cmd-help
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-08 07:54:17 +00:00
dependabot[bot]
196a4cb18f
Bump assets/themes/zenburn from e627f1c to 86d4ee7 (#2842)
Bumps [assets/themes/zenburn](https://github.com/colinta/zenburn) from `e627f1c` to `86d4ee7`.
- [Commits](e627f1cb22...86d4ee7a1f)

---
updated-dependencies:
- dependency-name: assets/themes/zenburn
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-01 03:15:26 +00:00
dependabot[bot]
cd81c7fa6b
Bump assets/syntaxes/02_Extra/SublimeJQ from 6870582 to b7e53e5 (#2820)
* Bump assets/syntaxes/02_Extra/SublimeJQ from `6870582` to `b7e53e5`

Bumps [assets/syntaxes/02_Extra/SublimeJQ](https://github.com/zogwarg/SublimeJQ) from `6870582` to `b7e53e5`.
- [Commits](687058289c...b7e53e5d86)

---
updated-dependencies:
- dependency-name: assets/syntaxes/02_Extra/SublimeJQ
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* update highlighted version of sample.jq

* update changelog

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Keith Hall <kingkeith+github@gmail.com>
2024-01-03 14:16:33 +00:00
Víctor González Prieto
497342fabb Bump cmd-help syntax to latest
Manual update (as opposed to Dependabot's) because the highlighting for
the test help message has changed. It's all good because it's as
intended, an improvement.

See victor-gp/cmd-help-sublime-syntax#23
2023-12-29 18:15:55 +01:00
dependabot[bot]
96cef9a24e
Bump assets/themes/zenburn from 43dc527 to e627f1c (#2790)
Bumps [assets/themes/zenburn](https://github.com/colinta/zenburn) from `43dc527` to `e627f1c`.
- [Commits](43dc527731...e627f1cb22)

---
updated-dependencies:
- dependency-name: assets/themes/zenburn
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-01 10:38:36 +00:00
Oliver Kiddle
b43d31b75a Improvements and fixes to zsh completion
* Use correct return status so that approximate completion isn't broken
* Follow zsh conventions on description forms
* Some options can be used multiple times, e.g. -H, -r, --file-name
* Set completion context correctly for the cache subcommand
* Better completion for --map-syntax argument
* Add --nonprintable-notation option
* Correct some of the mutual exclusion lists for options
2023-12-01 11:11:44 +01:00
Maria José Solano
04e7d2a313 fix(completions): add missing fish completions 2023-11-04 08:51:13 +01:00
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
    =============================
    [...]
2023-10-11 19:14:12 +02:00
Mészáros Máté Róbert
63aaa03013
Update the ssh-config submodule (#2697)
* Update the ssh-config submodule

Pull in the fix for the syntax.
Fixes #2359

* Extend the ssh_config syntax test
2023-10-10 06:16:41 +02:00
rhysd
d376a4b631 Add support for WGSL 2023-10-04 09:09:54 +02:00
Anomalocaridid
b56021ffa9 make LESSOPEN support opt-in 2023-09-08 06:25:20 +02:00
Anomalocaridid
e32ad0b048
Add $LESSOPEN and $LESSCLOSE support (#2444) 2023-09-02 08:48:26 +02:00
dependabot[bot]
bb17f74757 Bump assets/syntaxes/02_Extra/Docker from 9e9a518 to 0f6b7bc
Bumps [assets/syntaxes/02_Extra/Docker](https://github.com/asbjornenge/Docker.tmbundle) from `9e9a518` to `0f6b7bc`.
- [Release notes](https://github.com/asbjornenge/Docker.tmbundle/releases)
- [Commits](9e9a518aed...0f6b7bc87a)

---
updated-dependencies:
- dependency-name: assets/syntaxes/02_Extra/Docker
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-01 19:34:48 +02:00
Jan T. Sott
628ba5d31f add NSIS support 2023-09-01 17:50:30 +02:00
dependabot[bot]
e24150ca3f Bump assets/syntaxes/02_Extra/Julia from 4fde0fd to 98233f9
Bumps [assets/syntaxes/02_Extra/Julia](https://github.com/JuliaEditorSupport/Julia-sublime) from `4fde0fd` to `98233f9`.
- [Release notes](https://github.com/JuliaEditorSupport/Julia-sublime/releases)
- [Commits](4fde0fdedd...98233f96d4)

---
updated-dependencies:
- dependency-name: assets/syntaxes/02_Extra/Julia
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-01 17:48:06 +02:00
Adrián Bíro
e155f56484 Clean-up bash comletion
"cword" is unset and even is not used in completion for other shells, so it probably shouldn't be here either. If it for some reason should be there add the directive "# shellcheck disable=SC2034" to the line above it.
2023-05-12 05:59:36 +02:00
David Peter
c7905a6029 Minor fix in man page 2023-03-25 10:36:14 +01:00
David Peter
871abd27aa Update man page regarding --nonprintable-notation 2023-03-25 10:31:31 +01:00
David Peter
949f207275 Update binary assets 2023-03-25 10:04:59 +01:00
Keith Hall
b65a02681a Add crontab syntax 2023-03-17 22:48:12 +02:00
Keith Hall
5e77ca37e8 More consistent scoping in commands section in Manpages 2023-03-04 16:51:39 +01:00
David Peter
fed4dafb71
Merge pull request #2491 from sharkdp/dependabot/submodules/assets/syntaxes/02_Extra/MediaWiki-5dceaa9
Bump assets/syntaxes/02_Extra/MediaWiki from `81bf97c` to `5dceaa9`
2023-03-01 08:43:18 +01:00
dependabot[bot]
d440cae3ec
Bump assets/syntaxes/02_Extra/MediaWiki from 81bf97c to 5dceaa9
Bumps [assets/syntaxes/02_Extra/MediaWiki](https://github.com/tosher/Mediawiker) from `81bf97c` to `5dceaa9`.
- [Release notes](https://github.com/tosher/Mediawiker/releases)
- [Commits](81bf97cace...5dceaa9dd9)

---
updated-dependencies:
- dependency-name: assets/syntaxes/02_Extra/MediaWiki
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-01 03:57:38 +00:00
dependabot[bot]
c4ad9ad25e
Bump assets/syntaxes/02_Extra/CMake from ab6ef4e to eb40ede
Bumps [assets/syntaxes/02_Extra/CMake](https://github.com/zyxar/Sublime-CMakeLists) from `ab6ef4e` to `eb40ede`.
- [Release notes](https://github.com/zyxar/Sublime-CMakeLists/releases)
- [Commits](ab6ef4ef9f...eb40ede56c)

---
updated-dependencies:
- dependency-name: assets/syntaxes/02_Extra/CMake
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-01 03:57:34 +00:00
Keith Hall
52ef1bc0d6 Scope environment variable and commands sections in Manpages 2023-02-05 16:56:54 +01:00
David Peter
269b6b7e28
Merge pull request #2462 from sharkdp/dependabot/submodules/assets/themes/zenburn-43dc527
Bump assets/themes/zenburn from `702023d` to `43dc527`
2023-02-01 12:38:47 +01:00
dependabot[bot]
3687969aa9
Bump assets/syntaxes/02_Extra/cmd-help from 7797e20 to f41e5fc
Bumps [assets/syntaxes/02_Extra/cmd-help](https://github.com/victor-gp/cmd-help-sublime-syntax) from `7797e20` to `f41e5fc`.
- [Release notes](https://github.com/victor-gp/cmd-help-sublime-syntax/releases)
- [Commits](7797e206ef...f41e5fc838)

---
updated-dependencies:
- dependency-name: assets/syntaxes/02_Extra/cmd-help
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-01 03:01:07 +00:00
dependabot[bot]
70f24b85a7
Bump assets/themes/zenburn from 702023d to 43dc527
Bumps [assets/themes/zenburn](https://github.com/colinta/zenburn) from `702023d` to `43dc527`.
- [Release notes](https://github.com/colinta/zenburn/releases)
- [Commits](702023d80d...43dc527731)

---
updated-dependencies:
- dependency-name: assets/themes/zenburn
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-01 03:01:03 +00:00
David Peter
ac734db421
Merge pull request #2432 from sharkdp/dependabot/submodules/assets/syntaxes/02_Extra/cmd-help-7797e20
Bump assets/syntaxes/02_Extra/cmd-help from `9b25682` to `7797e20`
2023-01-17 15:30:14 +01:00
Josh Toft
e79e1a23eb add json key highlighting patch for twodark 2023-01-01 10:49:20 -08:00
dependabot[bot]
7fc6dae036
Bump assets/syntaxes/02_Extra/cmd-help from 9b25682 to 7797e20
Bumps [assets/syntaxes/02_Extra/cmd-help](https://github.com/victor-gp/cmd-help-sublime-syntax) from `9b25682` to `7797e20`.
- [Release notes](https://github.com/victor-gp/cmd-help-sublime-syntax/releases)
- [Commits](9b25682947...7797e206ef)

---
updated-dependencies:
- dependency-name: assets/syntaxes/02_Extra/cmd-help
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-01 03:01:21 +00:00
cyqsimon
b6b9d3a629
Disable completion of cache subcommand (#2399)
* Disable completion of `cache` subcommand

* Fully removed completion code for `cache`

* Add to changelog
2022-12-18 11:46:43 +01:00
Víctor González Prieto
3ffa7edbd5 Bump cmd-help syntax to latest
This update includes an overhaul of scope names to better support the
set of themes included with bat.

You can find a visual diff for every theme in this PR:
https://github.com/victor-gp/cmd-help-sublime-syntax/pull/17

This commit updates the cmd-help syntax test because the scopes (-> colors)
have changed.
2022-12-07 04:02:05 +01:00
dependabot[bot]
41ca247e32
Bump assets/syntaxes/02_Extra/TodoTxt from f5f0a6c to 071a004 (#2411)
Bumps [assets/syntaxes/02_Extra/TodoTxt](https://github.com/dertuxmalwieder/SublimeTodoTxt) from `f5f0a6c` to `071a004`.
- [Release notes](https://github.com/dertuxmalwieder/SublimeTodoTxt/releases)
- [Commits](f5f0a6c47f...071a004217)

---
updated-dependencies:
- dependency-name: assets/syntaxes/02_Extra/TodoTxt
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-03 17:14:01 +01:00
dependabot[bot]
d5b397f66a Bump assets/syntaxes/02_Extra/TOML from ed38438 to fd0bf3e (#2410)
* Bump assets/syntaxes/02_Extra/TOML from `ed38438` to `fd0bf3e`

Bumps [assets/syntaxes/02_Extra/TOML](https://github.com/jasonwilliams/sublime_toml_highlighting) from `ed38438` to `fd0bf3e`.
- [Release notes](https://github.com/jasonwilliams/sublime_toml_highlighting/releases)
- [Commits](ed38438900...fd0bf3e5d6)

---
updated-dependencies:
- dependency-name: assets/syntaxes/02_Extra/TOML
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update CHANGELOG.md

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Martin Nordholts <enselic@gmail.com>
2022-12-03 17:09:39 +01:00
David Peter
accc1b6d10
Merge pull request #2366 from Freed-Wu/vimhelp
Add VimHelp.sublime-syntax and its test
2022-11-04 22:07:57 +01:00
David Peter
4724d50e1d
Merge pull request #2361 from Freed-Wu/main
Add Requirementstxt.sublime-syntax and its test.
2022-11-02 21:00:33 +01:00
David Peter
e29db4d052
Merge pull request #2386 from sharkdp/dependabot/submodules/assets/syntaxes/02_Extra/cmd-help-ade16bf
Bump assets/syntaxes/02_Extra/cmd-help from `aa47747` to `ade16bf`
2022-11-02 20:56:52 +01:00
dependabot[bot]
043c04d3c4
Bump assets/syntaxes/02_Extra/cmd-help from aa47747 to ade16bf
Bumps [assets/syntaxes/02_Extra/cmd-help](https://github.com/victor-gp/cmd-help-sublime-syntax) from `aa47747` to `ade16bf`.
- [Release notes](https://github.com/victor-gp/cmd-help-sublime-syntax/releases)
- [Commits](aa477471c8...ade16bf1c1)

---
updated-dependencies:
- dependency-name: assets/syntaxes/02_Extra/cmd-help
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-01 03:04:04 +00:00
dependabot[bot]
b3f340e418
Bump assets/syntaxes/02_Extra/HTML (Twig) from 77def40 to aedf955
Bumps [assets/syntaxes/02_Extra/HTML (Twig)](https://github.com/Anomareh/PHP-Twig.tmbundle) from `77def40` to `aedf955`.
- [Release notes](https://github.com/Anomareh/PHP-Twig.tmbundle/releases)
- [Commits](77def406d7...aedf955eba)

---
updated-dependencies:
- dependency-name: assets/syntaxes/02_Extra/HTML (Twig)
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-01 03:03:59 +00:00
David Peter
14742a82bd
Merge branch 'master' into master 2022-10-30 21:08:04 +01:00
David Peter
b29f66c40d
Merge branch 'master' into feat/env-extension 2022-10-30 20:45:39 +01:00
David Peter
c3347c6be5
Merge pull request #2352 from Freed-Wu/extension
Add new file_extensions for INI
2022-10-30 20:45:03 +01:00
David Peter
8e15c9c501
Merge pull request #2316 from dkm/pr/ada_syntax
Add syntax support for Ada
2022-10-30 19:56:07 +01:00
Ville Skyttä
6378a95308 Add more dotenv file types
Upstream PR: https://github.com/zaynali53/DotENV/pull/17
2022-10-30 08:25:10 +02:00
Wu Zhenyu
37da5659c5 Add VimHelp.sublime-syntax and its test 2022-10-30 13:40:41 +08:00