github lewis6991/gitsigns.nvim v0.3

latest releases: release, v0.9.0, v0.8.1...
3 years ago

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() 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.
  • Improvements to next_hunk()/prev_hunk()
    • Open fold when navigating to hunks, respect 'foldopen'
    • Show warning when there are no hunks.
  • 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 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

Contributors

@lewis6991
@dialetic
@saecki
@teto
@figsoda
@xanderio
@echasnovski
@laantorchaweb
@mroavi
@snezhniylis
@Iron-E

Don't miss a new gitsigns.nvim release

NewReleases is sending notifications on new releases.