mirror of
https://github.com/sharkdp/bat.git
synced 2026-10-30 10:06:12 +00:00
Fixed manpage syntax to remove ANSI artifacts
This commit is contained in:
1 parent
990b2fc06f
commit
3ebfbb7ac5
2 files changed
+2
-1
No files matched your search
@@ -24,6 +24,7 @@
|
|||||||
|
|
||||||
- Change the URL of Zig submodule from GitHub to Codeberg, see #3519 (@sorairolake)
|
- Change the URL of Zig submodule from GitHub to Codeberg, see #3519 (@sorairolake)
|
||||||
- Don't color strings inside CSV files, to make it easier to tell which column they belong to, see #3521 (@keith-hall)
|
- Don't color strings inside CSV files, to make it easier to tell which column they belong to, see #3521 (@keith-hall)
|
||||||
|
- Fixed manpage syntax so that ANSI escape codes don't get incorrectly highlighted and thus broken, see #3586 (@BlueElectivire)
|
||||||
|
|
||||||
## Themes
|
## Themes
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -69,7 +69,7 @@ contexts:
|
|||||||
escape: '(?={{section_heading}})'
|
escape: '(?={{section_heading}})'
|
||||||
|
|
||||||
function-call:
|
function-call:
|
||||||
- match: '\b([A-Za-z0-9_\-]+\.)?([A-Za-z0-9_\-]+)(\()([^)]*)(\))'
|
- match: '(?:\s+)(?:\e\[[\?=]?(?:\d+;?)+[A-Za-z])?([A-Za-z0-9_\-^\e]+\.)?([A-Za-z0-9_\-]+)(?:\e\[[\?=]?(?:\d+;?)+[A-Za-z])?(\()([^)]*)(\))'
|
||||||
captures:
|
captures:
|
||||||
1: entity.name.function.man
|
1: entity.name.function.man
|
||||||
2: entity.name.function.man
|
2: entity.name.function.man
|
||||||
|
|||||||
Reference in new issue
Block a user