venantius / ultra

A Leiningen plugin for a superior development environment

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Friendlier README Regarding Plugin Integration

erez-rabih opened this issue · comments

commented

Hi,

Thanks for the great lein plugin, it is extremely useful.

When I tried installing it I followed the readme and added

{:user {:plugins [[venantius/ultra "0.4.0"]]}}

But couldn't see any colors in the REPL. It took me a while to figure out the default color scheme has no colors and I have to set the color scheme with:

:ultra {:color-scheme :solarized_dark}

Did I miss the documentation regarding it? Maybe it is worth stating in a more visible place so others won't have the same problem.

This is actually a bug, not a README fix. My guess is this was introduced in 0.4.0 when the interface to Whidbey changed. There should be a default colorscheme set.

At this point frankly I think I'd like to do away with color-schemes as a customization and just force a single default - nobody so far has given me any indication that they're altering the colorscheme at all and in fact what I call "solarized dark" really just adapts to whatever terminal settings they have.

@erez-rabih Where did you put the :ultra {:color-scheme :solarized_dark} line ? I'm trying to have a colorized REPL when running lein repl in a terminal, but I don't know where to put this configuration map in the ~/.lein/profiles.clj file

commented

@olivergg This is the contents of my ~/.lein/profiles.clj:

{:user {:plugins [[venantius/ultra "0.4.0"]]
        :ultra {:color-scheme :solarized_dark}
        }}

@erez-rabih Thanks ;)