Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider use trishume/syntect to highligh Makefile #234

Open
kyu08 opened this issue Mar 15, 2024 · 2 comments
Open

Consider use trishume/syntect to highligh Makefile #234

kyu08 opened this issue Mar 15, 2024 · 2 comments
Labels
UI About user interface

Comments

@kyu08
Copy link
Owner

kyu08 commented Mar 15, 2024

What this issue proposing

Use https://github.com/trishume/syntect instead of running bat command using tui-term.

Motivation

Ref

Since https://github.com/dustinblackman/oatmeal utilizes trishume/syntect, it might serve as a reference.
https://github.com/dustinblackman/oatmeal/blob/858207ed5bce233aa9ce55a60fb958fc965b6c75/src/domain/services/bubble.rs#L83

@Sigmanificient
Copy link
Contributor

What about tree-sitter?

@kyu08
Copy link
Owner Author

kyu08 commented Oct 15, 2024

@Sigmanificient
Sorry for the late reply.
Thanks for the idea.
This crate may be helpful. https://crates.io/crates/tree-sitter-highlight
I'll try it when I work on this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
UI About user interface
Projects
None yet
Development

No branches or pull requests

2 participants