Open gmnr opened 4 years ago
I'm trying to implement a way to close the outputter when the sourced buffer is closed.
This is what I got so far, but it's not working:
augroup QuitQuickRun au! autocmd BufUnload * if (bufname("b:[quickrun output]")) || &buftype == 'nofile' | q | endif augroup END
Is there a link between the buffer where the code executed is located and the related output that I can use?
Thanks in advance
I'm trying to implement a way to close the outputter when the sourced buffer is closed.
This is what I got so far, but it's not working:
Is there a link between the buffer where the code executed is located and the related output that I can use?
Thanks in advance