v0.3
Highlights
- Many bug fixes
- Added Rockspec and Luarock
- Use
vim.diff
(No more FFI on Neovim 0.6!) (see neovim/neovim#14536) - Added
get_hunks()
- Added
toggle_word_diff()
- Added
config.base
- Added
vim.g.gitsigns_head
- Added
setqflist()
andsetloclist()
:
Populate the quickfix/location list with hunks with the option to add hunks from all changed files (not just open buffers).
See:help gitsigns.setqflist()
for more details. - Improvements to
next_hunk()
/prev_hunk()
- Open fold when navigating to hunks, respect
'foldopen'
- Show warning when there are no hunks.
- Open fold when navigating to hunks, respect
- Improvements to
preview_hunk()
- Add title
- Keep preview open when navigating hunks with
]c
,[c
. - Allow
.
to work when preview is open, e.g. when staging hunks. - Allow preview focus with
<C-w>w
- Improvements to
blame_line()
- Show hunk of blame in preview
- Optimizations:
- Don't re-apply signs if hunk heads don't change
- Disable during vimgrep
- Add root dir and git dir to
b:gitsigns_status_dict
- Better support for DOS files
- Deprecated fields:
watch_index
: moved towatch_gitdir
.current_line_blame_delay
: moved tocurrent_line_blame_opts.delay
.current_line_blame_position
: moved tocurrent_line_blame_opts.virt_text_pos
diff_algorithm
: moved todiff_opts.algorithm
use_internal_diff
: moved todiff_opts.internal
use_decoration_api
: removed
Contributors
@lewis6991
@dialetic
@saecki
@teto
@figsoda
@xanderio
@echasnovski
@laantorchaweb
@mroavi
@snezhniylis
@Iron-E