I've noticed that when you trigger something that utilizes the Quickfix List it always seems to open to the bottom right of what you're doing. I think this may be a bit unexpected. Here are a couple examples of what I mean.
If you are using split and you trigger a find references in the left viewport on a symbol, the quickfix list opens on the bottom of the right viewport.
I've also noticed that this will do the same if the buffer isn't a normal buffer. For example, if you're using somthing like vista.vim as a symbol explorer and you do a find references, it will actually open the quickfix list in the bottom of the Vista window with is a nofile
buftype.
I encountered this today when I used the new workspace/symbol
, which opened to the bottom right of where I was, and it threw me off a bit.
If you are in the right viewport though, then the Quickfix List opens in the bottom of that viewport.
Thoughts on maybe making this a bit more opinionated on where it opens? I think opening in the same viewport makes sense, and I also think not opening in a nofile
buftype also probably makes sense.
Thanks for the great work on the LSP support. It's daily getting better and better!
nvim --version
: Latest masterI'd favor making the equivalent of :botright copen
the default behavior for the quickfix list. Given that it is the global list (unlike the location list), I don't think the location should depend on which window is currently active when it is first opened. It would be odd if I had a vertical split, opened the qf list from the left plane, then updated it based on an action in the right pane, for the qf list to still be only under the left pane. It also seems like it would be odd if it moved around every time it was updated.
Most helpful comment
I'd favor making the equivalent of
:botright copen
the default behavior for the quickfix list. Given that it is the global list (unlike the location list), I don't think the location should depend on which window is currently active when it is first opened. It would be odd if I had a vertical split, opened the qf list from the left plane, then updated it based on an action in the right pane, for the qf list to still be only under the left pane. It also seems like it would be odd if it moved around every time it was updated.