-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Conversation
autoload/go/lint.vim
Outdated
|
||
" If focus changed, restore it (jump to the last window). | ||
if l:winnr !=# winnr() | ||
wincmd p |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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 :)
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok, I will modify
There was a problem hiding this comment.
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.
Thanks @jinleileiking 👍 |
* do not jump to the quickfix window when gometalinter is executed
#1290
copy codes from
ale