parent
716ce90fe4
commit
6d8837f878
@ -283,7 +283,7 @@ function! s:strip_context(context)
|
|||||||
let diff = []
|
let diff = []
|
||||||
let hunk = []
|
let hunk = []
|
||||||
let state = 0
|
let state = 0
|
||||||
let lines = split(a:context,"\n",1)
|
let lines = a:context
|
||||||
let linenr = 0
|
let linenr = 0
|
||||||
|
|
||||||
while linenr < len(lines)
|
while linenr < len(lines)
|
||||||
@ -356,7 +356,7 @@ function! s:strip_context(context)
|
|||||||
let diff = diff + hunk
|
let diff = diff + hunk
|
||||||
let hunk = []
|
let hunk = []
|
||||||
endif
|
endif
|
||||||
return join(diff,"\n")."\n"
|
return diff
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
" Variables {{{1
|
" Variables {{{1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user