yorukot/superfile

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

开放

#1,193 创建于 2025年12月12日

 (28 条评论) (0 个反应) (0 位负责人)Go (661 个派生)auto 404
customizationdifficulty:mediumgood first issuenew configsetup issue

仓库指标

星标
 (18,650 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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

贡献者指南