Extract ftdetect file
This commit is contained in:
parent
cc9d8d93c8
commit
f7bcf51c56
@ -1930,7 +1930,6 @@ augroup END
|
|||||||
|
|
||||||
augroup fugitive_blame
|
augroup fugitive_blame
|
||||||
autocmd!
|
autocmd!
|
||||||
autocmd BufReadPost *.fugitiveblame setfiletype fugitiveblame
|
|
||||||
autocmd FileType fugitiveblame setlocal nomodeline | if exists('b:git_dir') | let &l:keywordprg = s:repo().keywordprg() | endif
|
autocmd FileType fugitiveblame setlocal nomodeline | if exists('b:git_dir') | let &l:keywordprg = s:repo().keywordprg() | endif
|
||||||
autocmd Syntax fugitiveblame call s:BlameSyntax()
|
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
|
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
|
Loading…
Reference in New Issue
Block a user