-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed
Labels
Milestone
Description
Description
Names like pacman.conf or systemd-system.conf does not get highlighted correctly, only the part after the dot is highlighted.
Command used to produce the image above:
MANPAGER="sh -c 'col -bx | bat -l man -p'" man systemdExpected result
The whole name (e.g: systemd-system.conf) is highlighted instead of just the part after the dot.
Environment
bat is installed using the package in Arch official repo.
info.sh output:
system
------
**$ uname -srm**
Linux 5.9.14-arch1-1 x86_64
**$ lsb_release -a**
LSB Version: 1.4
Distributor ID: Arch
Description: Arch Linux
Release: rolling
Codename: n/a
bat
---
**$ bat --version**
bat 0.17.1
**$ env**
PAGER=less
bat_config
----------
bat_wrapper
-----------
No wrapper script for 'bat'.
bat_wrapper_function
--------------------
No wrapper function for 'bat'.
No wrapper function for 'cat'.
tool
----
**$ less --version**
less 563 (PCRE regular expressions)
