mirror of
https://github.com/sharkdp/bat.git
synced 2025-01-03 04:08:50 +01:00
Fix typos
This commit is contained in:
parent
b265b20721
commit
8e708c9aa7
@ -123,7 +123,7 @@
|
||||
|
||||
- Various bash completion improvements, see #2310 (@scop)
|
||||
- Disable completion of `cache` subcommand, see #2399 (@cyqsimon)
|
||||
- Signifigantly improve startup performance on macOS, see #2442 (@BlackHoleFox)
|
||||
- Significantly improve startup performance on macOS, see #2442 (@BlackHoleFox)
|
||||
- Bump MSRV to 1.62, see #2496 (@Enselic)
|
||||
|
||||
## Syntaxes
|
||||
@ -685,7 +685,7 @@ You can see the API documentation here: https://docs.rs/bat/
|
||||
- Enabled LTO, making `bat` about 10% faster, see #719 (@bolinfest, @sharkdp)
|
||||
- Suggestions non how to configure `bat` for MacOS dark mode, see README (@jerguslejko)
|
||||
- Extended ["Integration with other tools"](https://github.com/sharkdp/bat#integration-with-other-tools) section (@eth-p)
|
||||
- Updated [instrutions on how to use `bat` as a `man`-pager](https://github.com/sharkdp/bat#man), see #652, see #667 (@sharkdp)
|
||||
- Updated [instructions on how to use `bat` as a `man`-pager](https://github.com/sharkdp/bat#man), see #652, see #667 (@sharkdp)
|
||||
- Add section concerning file encodings, see #688 and #568 (@sharkdp)
|
||||
- Updated sort order of command-line options in `--help` text and manpage, see #653 and #700 (@hrlmartins)
|
||||
- Updates to the man page syntax, see #718 (@sharkdp)
|
||||
@ -703,7 +703,7 @@ You can see the API documentation here: https://docs.rs/bat/
|
||||
- `/proc/cpuinfo` and `/proc/meminfo`, see #593 (@sharkdp)
|
||||
- Nim, see #542 (@sharkdp)
|
||||
- Vue, see #826 (@chaaaaarlotte)
|
||||
- CoffeScript, see #833 (@sharkdp)
|
||||
- CoffeeScript, see #833 (@sharkdp)
|
||||
|
||||
## New themes
|
||||
|
||||
|
2
assets/patches/Lisp.sublime-syntax.patch
vendored
2
assets/patches/Lisp.sublime-syntax.patch
vendored
@ -1434,7 +1434,7 @@ index 50e5dad3..44a9795d 100644
|
||||
+ break: (?={{break_char}}|$)
|
||||
+ break_char: '[\s()"'',:;|]'
|
||||
+
|
||||
+ # caracters
|
||||
+ # characters
|
||||
+ standard_char: '[0-9A-Za-z!"#$%&''()*+,\-./:;<=>?@\\\[\]^_`{|}~]'
|
||||
+ char_attributes: (?:(?:[[:alnum:]_]+-)+\\?)
|
||||
+
|
||||
|
@ -96,13 +96,13 @@ pub struct Config<'a> {
|
||||
#[cfg(feature = "lessopen")]
|
||||
pub use_lessopen: bool,
|
||||
|
||||
// Weather or not to set terminal title when using a pager
|
||||
// Whether or not to set terminal title when using a pager
|
||||
pub set_terminal_title: bool,
|
||||
|
||||
/// The maximum number of consecutive empty lines to display
|
||||
pub squeeze_lines: Option<usize>,
|
||||
|
||||
// Weather or not to set terminal title when using a pager
|
||||
// Whether or not to set terminal title when using a pager
|
||||
pub strip_ansi: StripAnsiMode,
|
||||
}
|
||||
|
||||
|
@ -346,7 +346,7 @@ impl EscapeSequenceOffsets {
|
||||
}
|
||||
}
|
||||
|
||||
/// An iterator over the offests of ANSI/VT escape sequences within a string.
|
||||
/// An iterator over the offsets of ANSI/VT escape sequences within a string.
|
||||
///
|
||||
/// ## Example
|
||||
///
|
||||
|
@ -1860,7 +1860,7 @@
|
||||
[35m[Ktests/integration_tests.rs[m[K[36m[K:[m[K[32m[K789[m[K[36m[K:[m[K [1;33m[Kbat[m[K_with_config()
|
||||
[35m[Ktests/integration_tests.rs[m[K[36m[K:[m[K[32m[K799[m[K[36m[K:[m[K [1;33m[Kbat[m[K_with_config()
|
||||
[35m[Ktests/integration_tests.rs[m[K[36m[K:[m[K[32m[K810[m[K[36m[K:[m[K [1;33m[Kbat[m[K_with_config()
|
||||
[35m[Ktests/integration_tests.rs[m[K[36m[K:[m[K[32m[K820[m[K[36m[K:[m[K [1;33m[Kbat[m[K_with_config().arg("cach").assert().failure();
|
||||
[35m[Ktests/integration_tests.rs[m[K[36m[K:[m[K[32m[K820[m[K[36m[K:[m[K [1;33m[Kbat[m[K_with_config().arg("cache").assert().failure();
|
||||
[35m[Ktests/integration_tests.rs[m[K[36m[K:[m[K[32m[K827[m[K[36m[K:[m[K [1;33m[Kbat[m[K()
|
||||
[35m[Ktests/integration_tests.rs[m[K[36m[K:[m[K[32m[K836[m[K[36m[K:[m[K [1;33m[Kbat[m[K_with_config()
|
||||
[35m[Ktests/integration_tests.rs[m[K[36m[K:[m[K[32m[K878[m[K[36m[K:[m[K [1;33m[Kbat[m[K()
|
||||
|
@ -1321,7 +1321,7 @@ fn can_print_file_starting_with_cache() {
|
||||
|
||||
#[test]
|
||||
fn does_not_print_unwanted_file_named_cache() {
|
||||
bat_with_config().arg("cach").assert().failure();
|
||||
bat_with_config().arg("cache").assert().failure();
|
||||
}
|
||||
|
||||
#[test]
|
||||
@ -2647,7 +2647,7 @@ fn lessopen_validity() {
|
||||
// Syntax highlighting should be the same regardless of
|
||||
// --map-syntax' case or file extension's case
|
||||
#[test]
|
||||
fn highlighting_independant_from_map_syntax_case() {
|
||||
fn highlighting_independent_from_map_syntax_case() {
|
||||
let expected = bat()
|
||||
.arg("-f")
|
||||
.arg("--map-syntax=*.config:JSON")
|
||||
|
@ -13,12 +13,12 @@ gpl_excludes=(
|
||||
# Contains a reference to GPL, but is not under GPL
|
||||
":(exclude)tests/syntax-tests/source/Java Server Page (JSP)/LICENSE.md"
|
||||
)
|
||||
gpl_occurances=$(git grep --recurse-submodules "${gpl_term}" -- "${gpl_excludes[@]}" || true)
|
||||
gpl_occurrences=$(git grep --recurse-submodules "${gpl_term}" -- "${gpl_excludes[@]}" || true)
|
||||
|
||||
if [ -z "${gpl_occurances}" ]; then
|
||||
if [ -z "${gpl_occurrences}" ]; then
|
||||
echo "PASS: No files under GPL were found"
|
||||
else
|
||||
echo "FAIL: GPL:ed code is not compatible with bat, but occurrences of '${gpl_term}' were found:"
|
||||
echo "${gpl_occurances}"
|
||||
echo "${gpl_occurrences}"
|
||||
exit 1
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user