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

is there a way to prevent auto_open from stealing focus? #48

Closed
sbromberger opened this issue Jun 8, 2021 · 4 comments · Fixed by #244
Closed

is there a way to prevent auto_open from stealing focus? #48

sbromberger opened this issue Jun 8, 2021 · 4 comments · Fixed by #244

Comments

@sbromberger
Copy link

First off, this is a great plugin. Thank you!

I have auto_open = true in my config. When I open up a file with errors, the trouble window opens... and steals focus from the main editing buffer.

Is there a way to disable that, or return focus to the editor window?

@HankelBao
Copy link

HankelBao commented Jun 10, 2021

Same problem here. Wish there could be a solution.

@folke
Copy link
Owner

folke commented Jun 10, 2021

I'll change it. Shouldn't take focus in case of auto_open.

@sbromberger
Copy link
Author

Thank you. This plugin is really great; I have already integrated it into my dev workflow and am dependent on it!

@folke folke closed this as completed in 36b6813 Jun 14, 2021
@folke
Copy link
Owner

folke commented Jun 14, 2021

That was actually a bug. It was already supposed to not steal the focus, but I broke it in a recent commit. Should work as expected now.

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 a pull request may close this issue.

3 participants