mirror of
https://github.com/tpope/vim-fugitive.git
synced 2025-12-24 12:51:31 +08:00
Put all the stuff that actually updates the buffer together, so we can soft reload without triggering autocommands or doing redundant work. The reason for the previous ordering was to allow a bit of parallelism while the diff commands ran in the background. Let's try to preserve that for map definitions by running them in parallel to the status command instead. I'm not sure why 'nomodifiable' was set after BufReadPost. Let's try the more natural ordering and see if anything breaks.