Hi,

On Mon, Jun 13, 2016 at 2:07 PM, TheLemonMan <[email protected]>
wrote:
>
> This patch adds two new arguments for winnr(): Q and L (I'm not 100%
> happy with the names) that retrieve the currently active quickfix or
> loclist window respectively.  Some tests could be added but I wanted
> to know if you were interested in something like this first.
>

Instead of extending winnr(), you may want to add a new function
getqfwinid().
Without any arguments, this function should return the quickfix window ID.
If a window ID is supplied as an argument, it should return the location
list
window ID for that window.

- Yegappan

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui