Skip to content

Close the Outputter when the related source file is closed #190

@gmnr

Description

@gmnr

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions