sharkdp/bat

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

Open

#3,366 opened on 2025年8月3日

GitHub で見る
 (15 comments) (14 reactions) (0 assignees)Rust (58,889 stars) (1,557 forks)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