venantius / ultra

A Leiningen plugin for a superior development environment
Eclipse Public License 1.0
1.24k stars 35 forks source link

Colorized `doc` #39

Closed venantius closed 6 years ago

venantius commented 9 years ago

Just stumbled upon this: https://github.com/ams-clj/clansi/blob/master/src/clansi/core.clj#L111, which I regard as a strong reason to consider moving the ANSI engine over to clansi just so I can pick up that feature as a partner to https://github.com/venantius/ultra/issues/15

venantius commented 6 years ago

I thought about this for a while and eventually came to the conclusion that it wouldn't really add much to just have colors all over the place. So I've simplified it a bit - the new behavior of doc will add syntax-highlighting for arglists but will otherwise remain as it was in Clojure 1.8.

I'm sticking with the Clojure 1.8 behavior because 1.9 adds support for Spec and I don't want to force everyone using Ultra onto 1.9 just yet.