Extract ftdetect file

This commit is contained in:
Tim Pope 2018-06-14 15:33:42 -04:00
parent cc9d8d93c8
commit f7bcf51c56
2 changed files with 1 additions and 1 deletions

View File

@ -1930,7 +1930,6 @@ augroup END
augroup fugitive_blame
autocmd!
autocmd BufReadPost *.fugitiveblame setfiletype fugitiveblame
autocmd FileType fugitiveblame setlocal nomodeline | if exists('b:git_dir') | let &l:keywordprg = s:repo().keywordprg() | endif
autocmd Syntax fugitiveblame call s:BlameSyntax()
autocmd User Fugitive if s:buffer().type('file', 'blob') | exe "command! -buffer -bar -bang -range=0 -nargs=* Gblame :execute s:Blame(<bang>0,<line1>,<line2>,<count>,[<f-args>])" | endif

1
ftdetect/fugitive.vim Normal file
View File

@ -0,0 +1 @@
autocmd BufReadPost *.fugitiveblame setfiletype fugitiveblame