Skip to content

Commit

Permalink
add documentation for GitGutterGetHunkSummary.
Browse files Browse the repository at this point in the history
  • Loading branch information
bling committed Aug 19, 2013
1 parent 8951f68 commit bdaff53
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions plugin/gitgutter.vim
Original file line number Diff line number Diff line change
Expand Up @@ -576,6 +576,9 @@ function! GitGutterGetHunks()
return s:is_active() ? s:hunks : []
endfunction

" Returns an array that contains a summary of the current hunk status.
" The format is [ added, modified, removed ], where each value represents
" the number of lines added/modified/removed respectively.
function! GitGutterGetHunkSummary()
return s:hunk_summary
endfunction
Expand Down

0 comments on commit bdaff53

Please sign in to comment.