xuhdev / SingleCompile

A Vim plugin making it more convenient to compile or run a single source file.
https://singlecompile.topbug.net
GNU General Public License v3.0
123 stars 20 forks source link

AutoOpen Result Window When Completeing Async Run #42

Open jebaum opened 11 years ago

jebaum commented 11 years ago

Is there any way to automatically run :SCViewResultAsync when :SCCompileRunAsync finishes? I tried to write a loop to check :SCIsRunningAsync to accomplish this but had no success.

xuhdev commented 11 years ago

I don't think I can get this implemented since vim script is not multithread safe, which means, if you try to send a message to pop up the window, vim may crash.

jebaum commented 11 years ago

I was afraid of that. Oh well. At the risk of making the issue off topic, would it be possible to create a toggle command for :SCViewResultAsync ?