sharkdp/bat

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

Open

#3.366 aberto em 3 de ago. de 2025

Ver no GitHub
 (15 comments) (14 reactions) (0 assignees)Rust (1.557 forks)batch import
feature-requesthelp wantedneeds-worksyntax-highlighting

Métricas do repositório

Stars
 (58.889 stars)
Métricas de merge de PR
 (Mesclagem média 7h 31m) (10 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