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.84k stars 109 forks source link

No error message. #212

Closed TornaxO7 closed 7 months ago

TornaxO7 commented 3 years ago

What's the problem?

Here's an C example:

#include <stdio.h>
#include <stdlib.h>

int main() {

    char * ptr;

    ptr = "ROFL";

    *(ptr + 1) = 'n';

    return EXIT_SUCCESS;
}

If I'm running it with :AsyncRun -mode=term -pos=tab -cwd="$(VIM_FILEDIR)" -save=2 gcc -lm % && ./a.out, than I'm getting this: image

What do you expect?

If I run my code in a terminal, than I'm getting this message: image

It'd be nice, if AsyncRun could display that as well. :)