I have an autocmd defined for BufEnter that does not get triggered
when a file is opened using a 'tab drop' command. It does seem to
work when file is opened with a mere 'drop' command. Can someone
confirm that this is indeed a bug?
My steps to reproduce:
1. Define a BufEnter autocmd for a filetype:
au BufEnter *.ext call TestBufEnter()
2. Define the called function as a debug breakpoint, so
you can tell when it's getting called:
debug func TestBufEnter
3. Open a file that should trigger the autocmd with 'tab drop':
tab drop myfile.ext
Note that TestBufEnter does not get called.
4. Open the same file using 'drop'
drop myfile.ext
TestBufEnter gets called, which is verified by startup of debugger at
the function breakpoint.
-- Herb
--
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