mirror of
https://github.com/sharkdp/bat.git
synced 2026-10-26 20:16:33 +00:00
Merge branch 'master' into fix-vcredist-link
This commit is contained in:
4 files changed
+21
No files matched your search
@@ -27,6 +27,7 @@
|
|||||||
- Syntax highlighting for Python files using uv as script runner in shebang #3689 (@janlarres)
|
- Syntax highlighting for Python files using uv as script runner in shebang #3689 (@janlarres)
|
||||||
|
|
||||||
## Bugfixes
|
## Bugfixes
|
||||||
|
- Fix `bat` hanging forever on JavaScript (and Svelte) code where an expression is followed by a block comment, e.g. `a /* x */`. Closes #4080, see #4091 (@NavpreetSSidhu)
|
||||||
- Fix the first line of UTF-16BE input swallowing the second line, which broke line numbers, `--line-range` and highlighting, see #XXXX (@cindykrafft)
|
- Fix the first line of UTF-16BE input swallowing the second line, which broke line numbers, `--line-range` and highlighting, see #XXXX (@cindykrafft)
|
||||||
- Exit quietly with status 0 instead of panicking when stdout is closed early (broken pipe) on auxiliary output paths such as `--completion`, `--config-file`, `--diagnostic`, `--generate-config-file`, `--set-terminal-title` and `cache --build`/`--clear`, matching the main output path since #232, closes #4034, see #4035 (@Mathjk)
|
- Exit quietly with status 0 instead of panicking when stdout is closed early (broken pipe) on auxiliary output paths such as `--completion`, `--config-file`, `--diagnostic`, `--generate-config-file`, `--set-terminal-title` and `cache --build`/`--clear`, matching the main output path since #232, closes #4034, see #4035 (@Mathjk)
|
||||||
- Track strikethrough (SGR 9 / 29) in the ANSI style tracker so it is re-emitted like bold, dim, italic, and underline, and is no longer dropped after the first highlighted token when displaying ANSI input with syntax highlighting, see #4015 (@mikehasa)
|
- Track strikethrough (SGR 9 / 29) in the ANSI style tracker so it is re-emitted like bold, dim, italic, and underline, and is no longer dropped after the first highlighted token when displaying ANSI input with syntax highlighting, see #4015 (@mikehasa)
|
||||||
|
|||||||
+10
@@ -12,3 +12,13 @@ index 05a4fed6..78a7bf55 100644
|
|||||||
scope: source.js
|
scope: source.js
|
||||||
variables:
|
variables:
|
||||||
bin_digit: '[01_]'
|
bin_digit: '[01_]'
|
||||||
|
@@ -93,7 +93,8 @@ variables:
|
||||||
|
(?! \+\+ | -- )
|
||||||
|
(?=
|
||||||
|
!= |
|
||||||
|
- [-+*/%><=&|^\[(;,.:?] |
|
||||||
|
+ [-+*%><=&|^\[(;,.:?] |
|
||||||
|
+ /(?!\*) |
|
||||||
|
(?:in|instanceof){{identifier_break}}
|
||||||
|
)
|
||||||
|
))
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
[38;2;248;248;242m{[0m[38;2;255;255;255ma[0m
|
||||||
|
[38;2;248;248;242m [0m[38;2;117;113;94m/*[0m[38;2;117;113;94m comment [0m[38;2;117;113;94m*/[0m
|
||||||
|
[38;2;248;248;242m}[0m
|
||||||
|
|
||||||
|
[38;2;248;248;242m{[0m[38;2;255;255;255ma[0m[38;2;248;248;242m [0m[38;2;117;113;94m/*[0m[38;2;117;113;94m comment [0m[38;2;117;113;94m*/[0m[38;2;248;248;242m}[0m
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
{a
|
||||||
|
/* comment */
|
||||||
|
}
|
||||||
|
|
||||||
|
{a /* comment */}
|
||||||
Reference in new issue
Block a user