asyncrun.vim
asyncrun.vim copied to clipboard
how to enable terminal color output?
the output

expected result

ANSI color escape code is not supported, and I don't have any plan for that. You should disable gcc color output, errors will be highlighted by quickfix window itself.
Looks like this plugin works fine: https://github.com/powerman/vim-plugin-AnsiEsc
Running AnsiEsc in the quickfix window opened by an AsyncRun command does work, but how does one combine both in a single command?
I am running two commands separately at the moment:
:AsyncRun clang++ -fdiagnostics-color=always -c % -o /dev/null
:AnsiEsc
I have tried piping the commands, e.g.
:AsyncRun clang++ -fdiagnostics-color=always -c % -o /dev/null | AnsiEsc
to no avail.
-post=xxx