Fix fold opening
This commit is contained in:
parent
416165f063
commit
6f5fd2add0
@ -1775,7 +1775,7 @@ function! s:BlameCommit(cmd) abort
|
||||
let offset -= 1
|
||||
endif
|
||||
endwhile
|
||||
return 'if foldlevel(".")|foldopen!|endif'
|
||||
return 'normal! zv'
|
||||
endif
|
||||
endwhile
|
||||
execute head
|
||||
@ -2486,7 +2486,7 @@ function! s:GF(mode) abort
|
||||
endwhile
|
||||
let offset += matchstr(getline(lnum), type.'\zs\d\+')
|
||||
let ref = getline(search('^'.type.'\{3\} [ab]/','bnW'))[4:-1]
|
||||
let dcmd = '+'.offset.'|if foldlevel(".")|foldopen!|endif'
|
||||
let dcmd = '+'.offset.'|normal! zv'
|
||||
let dref = ''
|
||||
|
||||
elseif getline('.') =~# '^rename from '
|
||||
|
Loading…
x
Reference in New Issue
Block a user