1
0
mirror of https://github.com/sharkdp/bat synced 2026-06-09 10:03:18 +00:00

Fixed manpage syntax to remove ANSI artifacts

This commit is contained in:
Guy Barzilai
2026-02-17 21:44:46 +02:00
parent 990b2fc06f
commit 3ebfbb7ac5
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -69,7 +69,7 @@ contexts:
escape: '(?={{section_heading}})'
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:
1: entity.name.function.man
2: entity.name.function.man