fzf-make icon indicating copy to clipboard operation
fzf-make copied to clipboard

Consider use trishume/syntect to highligh Makefile

Open kyu08 opened this issue 1 year ago • 1 comments

https://github.com/trishume/syntect

If this is fit for fzf-make, the https://github.com/kyu08/fzf-make/issues/124 and https://github.com/kyu08/fzf-make/issues/144 will be resolved.

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

kyu08 avatar Mar 15 '24 13:03 kyu08

What about tree-sitter?

Sigmanificient avatar Apr 05 '24 22:04 Sigmanificient

@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.

kyu08 avatar Oct 15 '24 05:10 kyu08