It would be excellent if asynccommand#run() could also run arbitrary vim commands asynchronously. I'm thinking of something like:
let env = {}
function! env.get(temp_file) dict
let qfl = eval(join(readfile(a:temp_file), "\n"))
...
endf
function! env.put(temp_file) dict
let qfl = ...
call writefile([string(qfl)], a:temp_file)
endf
call asynccommand#run("", env)
This would first run env.put() in the remote sub-vim to write some info to the tempfile, and then use
env.get() to retrieve the info.
It would be excellent if asynccommand#run() could also run arbitrary vim commands asynchronously. I'm thinking of something like:
This would first run env.put() in the remote sub-vim to write some info to the tempfile, and then use
env.get() to retrieve the info.