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

do not jump to the quickfix window when metalint #1293

Merged
merged 2 commits into from
May 23, 2017
Merged

do not jump to the quickfix window when metalint #1293

merged 2 commits into from
May 23, 2017

Conversation

jinleileiking
Copy link
Contributor

#1290

copy codes from ale


" If focus changed, restore it (jump to the last window).
if l:winnr !=# winnr()
wincmd p
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is better:

exe l:winnr . "wincmd w"

Jumps to the saved windows directly

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not very god at VIML. So I follow your orders :)

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah I've tested it. If you change it I'm going to merge it.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok, I will modify

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have changed the codes, and test on my machine.

@fatih fatih merged commit 162e263 into fatih:master May 23, 2017
@fatih
Copy link
Owner

fatih commented May 23, 2017

Thanks @jinleileiking 👍

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