Skip to content
New issue

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

Fix Make for headless, which currently steals focus #218

Closed
wants to merge 1 commit into from
Closed

Fix Make for headless, which currently steals focus #218

wants to merge 1 commit into from

Conversation

Cimbali
Copy link

@Cimbali Cimbali commented Nov 11, 2017

All strategies for Make work as:

  • building outside of vim asynchronously, in order to not steal focus
  • callback opening the quickfix

Except for the headless strategy, which is a synchronous build, basically a synonym for make.

This very simple PR fixes this by allowing the headless Make to be asynchronous, making it more similar to other backends for Make and actually useful between make and Make!

command headless behaviour before headless behaviour after
make synchronous, steals focus + open QF synchronous, steals focus + open QF
Make synchronous, steals focus + open QF asynchronous, hidden + open QF
Make! asynchronous, hidden, no QF asynchronous, hidden, no QF

@Cimbali Cimbali changed the title Asynchronous headless Make Allow headless Make to be asynchronous too Jan 29, 2018
@Cimbali Cimbali changed the title Allow headless Make to be asynchronous too Fix Make for headless, which was not asynchronous Mar 7, 2018
@Cimbali Cimbali changed the title Fix Make for headless, which was not asynchronous Fix Make for headless, which currently steals focus Mar 27, 2018
@tpope
Copy link
Owner

tpope commented Aug 7, 2019

I had some concerns about this I never got around to expressing, but as it happens, the job support should render this moot.

@tpope tpope closed this Aug 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants