Sunday, May 19, 2019

Order of QuitPre and BufWrite autocmds in :x

I was surprised to see that :x emits first QuitPre and then BufWrite. Is there a way to detect that QuitPre is happening in the context of those commands? I.e. that the buffers will be written to disk after the autocmd runs?

--
--
You received this message from the "vim_use" 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_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/e2d8d2b5-15bc-49bf-91e2-51ef6ec90dd0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: