I discovered leiningen ultra plugin, which provides a colorized REPL amongst other things: https://github.com/venantius/ultra
However, the colors, especially the "blue" for function symbols are not very readable in my terminal with the black background. I'd like to change the colors but wasn't able to do this following the documentation.
I added following configuration to my profiles.clj
right under the :user
key, but nothing has changed
:ultra {:repl {:color-scheme {:function-symbol [:red]
:class-delimiter [:red]}}}
Any ideas what I'm doing wrong? Has anyone been successful in setting custom color scheme?
To answer my own question:
It seems that it's not possible to provide custom colorscheme to modify output of source
. https://github.com/venantius/glow is used to colorize the output of source and the terminal-default
colorscheme is hardcoded in ultra plugin: https://github.com/venantius/ultra/blob/7ccac0749220028cda4c3c1ab4d4d45503cce0cc/src/ultra/repl.clj#L21
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.