Remove legacy autocommands

This commit is contained in:
Tim Pope committed 2020-01-22 09:44:07 -05:00
1 parent 71038e83f1
commit 9d62c67737
2 files changed
+5 -13

No files matched your search

+4
View File
@@ -357,6 +357,10 @@ augroup fugitive
\ if len(FugitiveGitDir()) |
\ call fugitive#MapCfile('fugitive#MessageCfile()') |
\ endif
autocmd FileType git,gitcommit
\ if len(FugitiveGitDir()) && &foldtext ==# 'foldtext()' |
\ setlocal foldtext=fugitive#Foldtext() |
\ endif
autocmd FileType fugitive
\ if len(FugitiveGitDir()) |
\ call fugitive#MapCfile('fugitive#StatusCfile()') |