sharkdp/bat

[Performance] Use `tree-sitter` to provide syntax highlighting ?

Open

#3,366 创建于 2025年8月3日

在 GitHub 查看
 (15 评论) (14 反应) (0 负责人)Rust (58,889 star) (1,557 fork)batch import
feature-requesthelp wantedneeds-worksyntax-highlighting

描述

Hello,

I notice bat command is very slow, maybe we can use tree-sitter to provide syntax highlight, tree-sitter is very fast.

https://github.com/tree-sitter

贡献者指南