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

貢獻者指南

[Performance] Use `tree-sitter` to provide syntax highlighting ? · sharkdp/bat#3366 | Good First Issue