yorukot/superfile

bat command flags used in superfile are not configurable and can clash with user's bat config

Open

#1,193 opened on Dec 12, 2025

 (28 comments) (0 reactions) (0 assignees)Go (661 forks)auto 404
customizationdifficulty:mediumgood first issuenew configsetup issue

Repository metrics

Stars
 (18,650 stars)
PR merge metrics
 (PR metrics pending)

Description

Describe the bug bat pager not correctly used when previewing files.

To Reproduce Steps to reproduce the behavior:

  1. Set code_previewer = "bat"
  2. Open preview panel (unless you have automatically open.)
  3. Hover-select over a file, to view preview.
  4. See "--- x Error ---"

Expected behavior bat pager should function flawlessly like chroma does.

Screenshots

System information (please complete the following information):

  • OS: Wayland, Arch Linux, GNU/Linux
  • Kernel Version 6.18.0-3-cachyos
  • superfile Version v1.4.0.r30.g8b8de92-1

Contributor guide