get_hunks

Function get_hunks 

Source
fn get_hunks(only_current_buffer: Option<bool>)
Expand description

Opens the selected git diff file and line number.

Fetches git diff output, parses paths and line numbers of changed hunks, displays them in a Neovim selection UI, and on selection opens the buffer at the specified line.