yorukot/superfile

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

Aperta

#1193 aperta il 12 dic 2025

 (28 commenti) (0 reazioni) (0 assegnatari)Go (661 fork)auto 404
customizationdifficulty:mediumgood first issuenew configsetup issue

Metriche repository

Star
 (18.650 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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

Guida contributor