Drop support for autocmd User Fugitive

This commit is contained in:
Tim Pope committed 2022-06-07 01:09:56 -04:00
1 parent 96c1009fcf
commit 2386b9b39f
2 files changed
+9 -22

No files matched your search

+1 -1
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