Fix indent
This commit is contained in:
parent
2ed441fde7
commit
27e2212ac0
@ -1039,14 +1039,14 @@ function! s:Diff(bang,...) abort
|
|||||||
if exists(':DiffGitCached')
|
if exists(':DiffGitCached')
|
||||||
return 'DiffGitCached'
|
return 'DiffGitCached'
|
||||||
elseif (!a:0 || a:1 == ':') && s:buffer().commit() =~# '^[0-1]\=$' && s:repo().git_chomp_in_tree('ls-files', '--unmerged', '--', s:buffer().path()) !=# ''
|
elseif (!a:0 || a:1 == ':') && s:buffer().commit() =~# '^[0-1]\=$' && s:repo().git_chomp_in_tree('ls-files', '--unmerged', '--', s:buffer().path()) !=# ''
|
||||||
execute 'leftabove '.split.' `=fugitive#buffer().repo().translate(s:buffer().expand('':2''))`'
|
execute 'leftabove '.split.' `=fugitive#buffer().repo().translate(s:buffer().expand('':2''))`'
|
||||||
diffthis
|
diffthis
|
||||||
wincmd p
|
wincmd p
|
||||||
execute 'rightbelow '.split.' `=fugitive#buffer().repo().translate(s:buffer().expand('':3''))`'
|
execute 'rightbelow '.split.' `=fugitive#buffer().repo().translate(s:buffer().expand('':3''))`'
|
||||||
diffthis
|
diffthis
|
||||||
wincmd p
|
wincmd p
|
||||||
diffthis
|
diffthis
|
||||||
return ''
|
return ''
|
||||||
elseif a:0
|
elseif a:0
|
||||||
if a:1 ==# ''
|
if a:1 ==# ''
|
||||||
return ''
|
return ''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user