When the vim-fireplace plugin prints an error stack into the preview window, it includes a bunch of control characters. Example:
I tried set nolist
but it had no effect. Does anyone know how to get rid of them?
When the vim-fireplace plugin prints an error stack into the preview window, it includes a bunch of control characters. Example:
I tried set nolist
but it had no effect. Does anyone know how to get rid of them?
Thanks to @D. Ben Knoble for helping me to understand what was going on. It was the timbre logging library that was adding the color characters.
To turn them off, I added the following to my environment:
export TAOENSSO_TIMBRE_DEFAULT_STACKTRACE_FONTS_EDN='{}'
When viewing the logs in a buffer, it's also possible to show the colors as intended with the Colorizer plugin with the :ColorHighlight
command.
:Last
command. Now I just need to figure out how to use in in the command output window...