mirror of
https://github.com/tpope/vim-fugitive.git
synced 2026-10-09 23:05:57 +08:00
1 parent
b0bc71460a
commit
4b75c7bff2
1 file changed
+1
-1
+1
-1
@@ -2325,7 +2325,7 @@ function! s:BufReadObject() abort
|
|||||||
setlocal bufhidden=delete
|
setlocal bufhidden=delete
|
||||||
endif
|
endif
|
||||||
if b:fugitive_type !=# 'blob'
|
if b:fugitive_type !=# 'blob'
|
||||||
set filetype=git
|
setlocal filetype=git foldmethod=syntax
|
||||||
nnoremap <buffer> <silent> a :<C-U>let b:fugitive_display_format += v:count1<Bar>exe <SID>BufReadObject()<CR>
|
nnoremap <buffer> <silent> a :<C-U>let b:fugitive_display_format += v:count1<Bar>exe <SID>BufReadObject()<CR>
|
||||||
nnoremap <buffer> <silent> i :<C-U>let b:fugitive_display_format -= v:count1<Bar>exe <SID>BufReadObject()<CR>
|
nnoremap <buffer> <silent> i :<C-U>let b:fugitive_display_format -= v:count1<Bar>exe <SID>BufReadObject()<CR>
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in new issue
Block a user