Hi Christian,

On Mon, Sep 4, 2017 at 11:19 PM, Christian Brabandt <[email protected]> wrote:
> Bram,
> if you run:
>
> :au BufEnter * echomsg printf("Entering buffer: %s buftype: %s", 
> expand("<afile>"), &buftype)
>
> and then you type :term
>
> you'll notice that by the time the BufEnter is triggered, the buftype
> option is not set yet. So one cannot detect reliably that the new buffer
> will be a terminal buffer.
>

>From the documentation, it looks like NeoVim has the autocommands
TermOpen and TermClosed which get triggered when a terminal buffer
is opened or closed. In addition to your current change, should these
also be added?

- 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