sharkdp/bat

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

Aberta

#3.366 aberto em 3 de ago. de 2025

 (15 comentários) (14 reações) (0 responsável)Rust (1.557 forks)batch import
feature-requesthelp wantedneeds-worksyntax-highlighting

Métricas do repositório

Stars
 (58.889 estrelas)
Métricas de merge de PR
 (Mesclagem média 16d 6h) (11 fundiu PRs em 30d)

Description

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

Guia do colaborador