Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ynkdir committed Sep 12, 2015
1 parent b6fd3f6 commit cf5dc09
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
5 changes: 2 additions & 3 deletions autoload/diff.vim
Expand Up @@ -6,9 +6,8 @@ function diff#diffexpr()
endfunction

function diff#normal(old, new)
let diff = s:Diff.new(a:old, a:new)
let out = diff.format_normal()
return out
let path = s:wuonp.WuOnpDiff.diff(a:old, a:new)
return s:normal.Normal.format(path, a:old, 0, a:new, 0)
endfunction

function diff#bnormal(old, new)
Expand Down
5 changes: 2 additions & 3 deletions autoload/histogramdiff.vim
Expand Up @@ -6,9 +6,8 @@ function histogramdiff#diffexpr()
endfunction

function histogramdiff#normal(old, new)
let diff = s:Diff.new(a:old, a:new)
let out = diff.format_normal()
return out
let path = s:histogram.HistogramDiff.diff(a:old, a:new)
return s:normal.Normal.format(path, a:old, 0, a:new, 0)
endfunction

function histogramdiff#bnormal(old, new)
Expand Down

0 comments on commit cf5dc09

Please sign in to comment.