15 comments (15 comments)14 reactions (14 reactions)0 assignees (0 assignees)Rust1,557 forks (1,557 forks)batch import
feature-requesthelp wantedneeds-worksyntax-highlighting
Repository metrics
- Stars
- 58,889 stars (58,889 stars)
- PR merge metrics
- Avg merge 16d 6h (Avg merge 16d 6h)11 merged PRs in 30d (11 merged PRs in 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
Contributor guide
- Research direction
- Investigate how bat currently implements syntax highlighting (likely using syntect) and explore integrating tree sitter as a faster alternative. Understand tree sitter's grammar compilation and query system. Reference similar integrations in other tools like helix editor.
- Tech stack
- rust
- Domain
- cli
- Issue type
- Performance
- Prerequisites
- Rusttree sitter