mirror of
https://github.com/tpope/vim-fugitive.git
synced 2025-11-08 11:33:47 -05:00
Extract ftdetect file
This commit is contained in:
@@ -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
1
ftdetect/fugitive.vim
Normal file
@@ -0,0 +1 @@
|
||||
autocmd BufReadPost *.fugitiveblame setfiletype fugitiveblame
|
||||
Reference in New Issue
Block a user