Fork me on GitHub
#vim
<
2020-09-23
>
dave00:09:53

there are a variety of plugins that interpret ANSI escape codes. there isn't one in particular that i've found that i'm totally happy with, but i know of at least two that sort of work OK: https://github.com/powerman/vim-plugin-AnsiEsc https://github.com/chrisbra/Colorizer

walterl00:09:18

Thanks. Can they be applied to the quickfix window?

dave00:09:55

no idea. i think so?

walterl00:09:07

Hmmm... who could've opened this issue? https://github.com/chrisbra/Colorizer/issues/77 😝

dave00:09:30

like i said, i haven't found a plugin that interprets ANSI escape codes that i'm totally happy with!

dave00:09:40

colorizer seems woefully undermaintained. it sort of works, but it's flaky

dave00:09:15

ansiesc is maybe a little better, but for reasons that i don't remember, i tried it and then switched back to colorizer

dave00:09:20

if colorizer can just fix the issue you linked, then i'll be happy with it 🙂

walterl00:09:23

Seems like very close to what I need. I'll dig a bit more. Thanks 🙂

dave00:09:15

good luck!

walterl01:09:28

Seems like Colorizer's :ColorHighlight works on the quickfix window, but it reverts as soon as I leave the quickfix window. let g:colorizer_auto_filetype='qf' also doesn't work as advertised. Oh well, a mapping is (much) better than reading through ANSI color codes 🙂🤷

walterl22:09:37

I've noticed that, when running jack-in's :Lein, the title of the tab in which my lein repl opens changes to be the same as the title of the active tab. It's quite jarring, since the length of the tab title changes as I switch tabs. This happens with vim-airline, and stops when I :AirlineToggle it off. Has anyone else experienced this?

walterl22:09:29

Hmmm... looks like it's terminal buffer titles that change... not just jack-in windows