Drop support for autocmd User Fugitive

This commit is contained in:
Tim Pope
2022-06-07 01:08:42 -04:00
parent 96c1009fcf
commit 2386b9b39f
2 changed files with 9 additions and 22 deletions

View File

@@ -718,7 +718,7 @@ version.
*User_Fugitive*
Fugitive used to support `:autocmd User Fugitive` to run an autocommand after
loading any buffer belonging to a Git repository, but this is being phased
loading any buffer belonging to a Git repository, but this has been phased
out. Instead, one can leverage regular autocommand events like |BufNewFile|
and |BufReadPost|, and check !empty(FugitiveGitDir()) to confirm Fugitive has
found a repository. See also |fugitive-autocommands| for other, more