Skip to content

v0.3

Compare
Choose a tag to compare
@lewis6991 lewis6991 released this 27 Sep 12:02
· 561 commits to main since this release

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