Releases: lewis6991/gitsigns.nvim
Releases Β· lewis6991/gitsigns.nvim
v0.4
Highlights
- Bug fixes of all shapes and sizes
- True partial hunk operations via visual selection.
- If you have a very large hunk (e.g. you add several functions), you can now use visual mode to select exactly which lines you want to stage for commit.
- Added
config.show_deleted, andtoggle_deleted()- Uses virtual lines (via extmarks) to expand hunks inline in the buffer.
- Added
config.trouble- If enabled (by default) and trouble.nvim is installed, then
setqflist()andsetloclist()will open Trouble instead of the builtin (and slow) quickfix/location list.
- If enabled (by default) and trouble.nvim is installed, then
- Added
config.current_line_blame_opts.ignore_whitespace
Notice
This will be the last release with explicit support for Neovim v0.5.
Contributers
@lewis6991
@mjlbach
@cryptomilk
@kuznetsss
@Sh3Rm4n
@jose-elias-alvarez
@jwong101
@mroavi
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_posdiff_algorithm: moved todiff_opts.algorithmuse_internal_diff: moved todiff_opts.internaluse_decoration_api: removed
Contributors
@lewis6991
@dialetic
@saecki
@teto
@figsoda
@xanderio
@echasnovski
@laantorchaweb
@mroavi
@snezhniylis
@Iron-E
v0.2
Highlights
- Add relative date to current_line_blame
- Show status message when navigating hunks
- Live word diff to buffer and hunk preview
- Follow files when they move in the index
- Stage/reset all hunks in selected range.
- Added configurable timeout for current_line_blame
- Configurable blame virtual text position
- Added config.on_attach()
- Added get_actions()
- Added diffthis()
- Migrate to plenary async2 (thanks @oberblastmeister)
- Rework how derived highlights are applied
Contributors
@lewis6991 39 commits
@zapling 4 commits
@andersevenrud : 3 commits
@sindrets : 1 commit