Git integration for buffers
attach()
to work with any buffer when given context data. by @sindrets in https://github.com/lewis6991/gitsigns.nvim/pull/683
line()
to vim.fn.line()
by @mmirus in https://github.com/lewis6991/gitsigns.nvim/pull/785
:Gitsigns
select dialog is cancelled by @theofabilous in https://github.com/lewis6991/gitsigns.nvim/pull/915
Full Changelog: https://github.com/lewis6991/gitsigns.nvim/compare/v0.6...v0.7
GitsignsUpdate
which is triggered whenever Gitsigns
updates the buffer with new hunks.preview_hunk_inline()
:
preview_hunk()
but displays the hunks inline in the buffer.b:gitsigns_line_blame
:Gitsigns diffthis
, :Gitsigns change_base
, :Gitsigns show
)watch_index
: replaced with watch_gitdir
current_line_blame_delay
: replaced with current_line_blame_opts.delay
current_line_blame_position
: replaced with current_line_blame_opts.virt_text_pos
diff_algorithm
: replaced with diff_opts.algorithm
use_decoration_api
use_internal_diff
: replaced with diff_opts.internal
Full Changelog: https://github.com/lewis6991/gitsigns.nvim/compare/v0.5...v0.6
.git-blame-ignore-revs
current_line_blame_formatter_nc
Gitsigns diffthis
:
'splitright'
_extmark_signs = true
_threaded_diff = true
:Gitsigns
without a subcommand will now call vim.ui.select
show
action. Like diffthis
but doesn't run a diff.keymaps
is now deprecated. Please use on_attach
instead.watch_gitdir.enable
Full Changelog: https://github.com/lewis6991/gitsigns.nvim/compare/v0.4...v0.5
This will be the last release with explicit support for Neovim v0.6.
config.show_deleted
, and toggle_deleted()
config.trouble
setqflist()
and setloclist()
will open Trouble instead of the builtin (and slow) quickfix/location list.config.current_line_blame_opts.ignore_whitespace
This will be the last release with explicit support for Neovim v0.5.
@lewis6991 @mjlbach @cryptomilk @kuznetsss @Sh3Rm4n @jose-elias-alvarez @jwong101 @mroavi
vim.diff
(No more FFI on Neovim 0.6!) (see https://github.com/neovim/neovim/pull/14536)get_hunks()
toggle_word_diff()
config.base
vim.g.gitsigns_head
setqflist()
and setloclist()
:
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.next_hunk()
/prev_hunk()
'foldopen'
preview_hunk()
]c
, [c
..
to work when preview is open, e.g. when staging hunks.<C-w>w
blame_line()
b:gitsigns_status_dict
watch_index
: moved to watch_gitdir
.current_line_blame_delay
: moved to current_line_blame_opts.delay
.current_line_blame_position
: moved to current_line_blame_opts.virt_text_pos
diff_algorithm
: moved to diff_opts.algorithm
use_internal_diff
: moved to diff_opts.internal
use_decoration_api
: removed@lewis6991 @dialetic @Saecki @teto @figsoda @xanderio @echasnovski @laantorchaweb @mroavi @snezhniylis @Iron-E
@lewis6991 39 commits @zapling 4 commits @andersevenrud : 3 commits @sindrets : 1 commit