Remove legacy autocommands

This commit is contained in:
Tim Pope
2020-01-21 05:10:39 -05:00
parent 71038e83f1
commit 9d62c67737
2 changed files with 5 additions and 13 deletions

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()') |