nassredean / fir

fir stands for friendly-interactive-ruby!
Other
271 stars 6 forks source link

Syntax highlighting #27

Open do-you-dare opened 6 years ago

do-you-dare commented 6 years ago

Hello! First, awesome REPL you did! On fish and zsh, you can have syntax highlighting as you type. Pry does it when you submit a line. What do you think about enabling this on Fir?

nassredean commented 6 years ago

@dread-uo Thanks for the kind words! I would absolutely love to have that as well, and I intend to do some exploration soon to figure out how to integrate that functionality into fir. Also any PR's adding it are welcome!

AlexWayfer commented 6 years ago

Maybe Rouge with Rouge::Formatters::Terminal256 can be helpful.