Describe the bug
BufEnter autocmd was not fired when open file that name ends with path separator in try block.
To Reproduce
Detailed steps to reproduce the behavior:
vim --clean
autocmd BufEnter * echo "foo" try edit / endtry
foo
was not shown.Expected behavior
autocmd is fire, shows foo
.
Environment (please complete the following information):
Additional context
I think it's related sources.
https://github.com/vim/vim/blob/644b49fa0fb90143e8dbe90a7c14c9498d17b266/src/misc2.c
https://github.com/vim/vim/blob/644b49fa0fb90143e8dbe90a7c14c9498d17b266/src/ex_eval.c
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub.
Triage notifications on the go with GitHub Mobile for iOS or Android.