skywind3000 / asyncrun.vim

:rocket: Run Async Shell Commands in Vim 8.0 / NeoVim and Output to the Quickfix Window !!
https://www.vim.org/scripts/script.php?script_id=5431
MIT License
1.86k stars 111 forks source link

ANSI colors not currently supported #3

Open nowox opened 8 years ago

nowox commented 8 years ago

If I do:

 :Asyncrun! echo "\e[32mHello World\e[0m"

I get this:

 || ["echo", ""\e[32mHello", "World\e[0m""]
 || "\e[32mHello World\e[0m"
 || [Finished in 0 seconds]

Where "Hello World" is not colored.

skywind3000 commented 8 years ago

I just can't figure out a simple way to filter out them. And I will take some time to think about it

bengillies commented 7 years ago

see https://github.com/vim-scripts/AnsiEsc.vim, which seems to work fine.