-
-
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
quickfix list clobbered on save #1389
Comments
I had the same issue and had to roll back to go-vim v1.12 (26362e4). Now the quickfix window is being displayed with build errors again. |
Looks like this was introduced by e4e992a Fortunately, it documents a workaround: let g:go_list_type = "locationlist" |
I think https://stackoverflow.com/questions/20933836/what-is-the-difference-between-location-list-and-quickfix-list-in-vim sums up why
|
Not sure how to fix it. Quickfix is global. So is Locationlist as well. What if you use locationlist for both save and format as well? In that case this will still happen. This can be fixed by disabling the following line in
luckily we have a new setting that prevents autoclosing it. So if you add the following you should be good to go:
But I need to look more detaily for this. Let me know what happens if you add this setting and how it works for you (didn't tested it) |
How about I need to keep quickfix when execute command like GoErrCheck and GoMetalinter. But now, list is Overwritten and deleted by autosaving. So, I want to use quickfix when execute command and use locationlist when autosave. |
This is fixed now (please pull master) and now it won't close it anymore, unless it's the list created by :GoFmt itself (or autosave). Thanks for the feedback again. |
Behavior
Having just updated vim-go, I've noticed that when I save codefiles, my quickfix window closes and the quickfix list is emptied. When correcting e.g. compile errors, this is irritating because
Steps to reproduce:
Please create a reproducible case of your problem. If this step is
not provided, the issue will be closed
Re produce it with a minimal
vimrc
with all plugins disabled andonly
vim-go
enabled:6 < quickfix window closes, :cw won't reopen >
Configuration
Add here your current configuration and additional information that might be
useful, such as:
This is vim-go 76cd99d, under Neovim 0.1.7, and Go 1.7.4.
The text was updated successfully, but these errors were encountered: