fioncat / otree

A command line tool to view objects (JSON/YAML/TOML) in TUI tree widget.
MIT License
266 stars 8 forks source link

Support syntax highlighting #15

Closed fioncat closed 3 months ago

fioncat commented 4 months ago

Implement syntax highlighting in data block.

Allow user to define highlighting colors.

ccoVeille commented 4 months ago

For reference and curious people like me

https://github.com/rust-bakery/nom

fioncat commented 4 months ago

For reference and curious people like me

https://github.com/rust-bakery/nom

I found that we don't need to use nom anymore, since serde_* crates has already done that.

You can review my PR if you are interested 🙃

ccoVeille commented 4 months ago

Maybe you could update the issue description then. About using serde and not nom