asyncrun.vim icon indicating copy to clipboard operation
asyncrun.vim copied to clipboard

how to enable terminal color output?

Open y9c opened this issue 8 years ago • 7 comments

the output image

expected result image

y9c avatar Sep 18 '17 02:09 y9c

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.

skywind3000 avatar Sep 18 '17 07:09 skywind3000

Looks like this plugin works fine: https://github.com/powerman/vim-plugin-AnsiEsc

noboruma avatar May 21 '19 12:05 noboruma

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.

dakeryas avatar Oct 24 '19 12:10 dakeryas

-post=xxx

skywind3000 avatar Oct 24 '19 19:10 skywind3000