I want to configure Lein so that I see a colored REPL, like Emacs' nREPL. How can I do this?
I couldn't find any help on Google. Do I need to learn Bash scripting first?
Ultra, “a Leiningen plugin for a superior development environment”, highlights syntax well for REPL output, among other useful things.
At the moment, there are no plugins or stand-alone REPLs that highlight syntax for input.
Whidbey “pretty-prints colored REPL values by default”, using Puget to do the actual pretty-printing. Whidbey’s README seems to indicate that you can install it for all Leiningen projects simply by adding the following :plugins
value to your user profile at ~/.lein/profiles.clj
:
{:user {:plugins [[mvxcvi/whidbey "0.5.0"]]}}
Though I personally couldn’t get it to work, no matter what I tried.
You can also look at the Colors page on REPLy’s wiki. (REPLy is the REPL built-in to Leiningen 2, and it integrates with nREPL.) For now, all that wiki page contains is a link to Whidbey, but it might be updated in the future.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With