We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
For example, I have this function:
func! CompileCppAndRun() "silent w "silent make execute "copen" if (line('$') == 1 && getline(1) == '') silent execute ":cclose" let cexec = "". "%:p:r " silent execute "!clear" silent execute "!" . "xterm " . "-e " . "cb_console_runner " . cexec endif
endfunc
This is a function that compiles c++ program, executes if compiled or opens quickfix if there are compile errors.
So, can AsyncRun call this function?
The text was updated successfully, but these errors were encountered:
No, job_start in vim can only run external process. You can implement it in a .sh script and launch it by AsyncRun.
Sorry, something went wrong.
Oh, thank you. Well, I think I can close the issue.
No branches or pull requests
For example, I have this function:
func! CompileCppAndRun()
"silent w
"silent make
execute "copen"
if (line('$') == 1 && getline(1) == '')
silent execute ":cclose"
let cexec = "". "%:p:r "
silent execute "!clear"
silent execute "!" . "xterm " . "-e " . "cb_console_runner " . cexec
endif
endfunc
This is a function that compiles c++ program, executes if compiled or opens quickfix if there are compile errors.
So, can AsyncRun call this function?
The text was updated successfully, but these errors were encountered: