On Friday, July 14, 2017 at 12:09:42 PM UTC-5, Bram Moolenaar wrote:
> Daniel Hahler wrote:
> 
> 
> 
> > Horsefly I can use another auto command then.
> 
> 
> 
> It might work to use the QuickFixCmdPost event and check if &filetype ==
> 
> 'qf'
> 

Not if you're trying to respond to a ":copen" command.

I have autocmds using window-related commands in a "au Filetype qf" to:

1. detect if it's a location list or a quickfix list (by using :copen and 
checking if the window changed)
2. resize the quickfix window based on the number of entries

These are currently failing because of this change and I don't think there is a 
good way to accomplish these things anymore.

-- 
-- 
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