Hi, @rhysd :
I am debugging a vim plugin using BufEnter autocmd on nvim. I found that when I call :GitMessenger, a BufEnter autocmd is triggered. But BufEnter won't be triggered again when float window disappear (git_messenger_close_on_cursor_moved is true).
My plugin depends BufEnter to do some detect. When it enter to git-messenger buffer, function is closed, and there is no condition to make me open function again when back to normal buffer.
I am not familiar with vimscript, so could you help to answer my question?
- Is this the vim/nvim behavior which plugins can not do something to change it ?
- Does git-messenger depends on this autocmd? Could git-messenger do something to make no
BufEnter on popup window show or BufEnter again when popup window close? (Because I think it may be a more compatible behavior to have pairing autocmd.)
This may not an issue of git messenger, but thanks any way~
Hi, @rhysd :
I am debugging a vim plugin using
BufEnterautocmd on nvim. I found that when I call:GitMessenger, aBufEnterautocmd is triggered. ButBufEnterwon't be triggered again when float window disappear (git_messenger_close_on_cursor_moved is true).My plugin depends
BufEnterto do some detect. When it enter to git-messenger buffer, function is closed, and there is no condition to make me open function again when back to normal buffer.I am not familiar with vimscript, so could you help to answer my question?
BufEnteron popup window show orBufEnteragain when popup window close? (Because I think it may be a more compatible behavior to have pairing autocmd.)This may not an issue of git messenger, but thanks any way~