I run the command GoReferrers, expecting it to open the QuickFixList. Instead, it opens the LocationList.
Since the referrers regard multiple files, and the location list is specific to the buffer, shouldn't the QuickFix list be used instead?
Run GoReferrers over any keyword, and wait for the location list to open.
To confirm it's the LocationList by using :lclose
Add here your current configuration and additional information that might be
useful, such as:
vimrc you used to reproduce:call plug#begin()
Plug 'fatih/vim-go'
call plug#end()
commit 3eb57acIt uses the location list by default, because the source of the information is the current buffer. Contrast this to :GoBuild, which uses several files as the source of information (all the files in the package are built).
The output of any command that is delegated to guru is written to the location list window, because the input is the current buffer.
My issue with that is the lnext and lprevious commands. When the next
occurrence of the list is in another file, I get an error and the location
list is overwritten. I guesses it had something to do with it using the
location list.
On Jan 17, 2017 22:32, "Billie Cleek" notifications@github.com wrote:
It uses the location list by default, because the source of the
information is the current buffer. Contrast this to :GoBuild, which uses
several files as the source of information (all the files in the package
are built).The output of any command that is delegated to guru is written to the
location list window, because the input is the current buffer.—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/fatih/vim-go/issues/1178#issuecomment-273346051, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABEz4nlDdAf7cYCL_dIlWKAJXRiKw-Cvks5rTV2QgaJpZM4LjPTT
.
I am unable to duplicate what you're describing. May I suggest that you close this issue now that the question you posed here is answered, and open a new issue describing the actual problem you're seeing?
Nevermind. My issue is actually with Neomake, witch overrides the location list whenever I open a new file. I just realized this. Thank you for your patience.
Closing this as this seems to be resolved. Feel free to open again if there is a problem. Thanks @bhcleek for support.
Most helpful comment
Nevermind. My issue is actually with Neomake, witch overrides the location list whenever I open a new file. I just realized this. Thank you for your patience.