Setting GitSignsDeleteLn to anything by default doesn't make much sense
since it ends up highlighting lines not related to the hunk. This is
especially confusing when show_deleted is enabled.
+ Fix incorrect docs.
Fixes#565
- When running diffthis (or vim-fugitive's Gdiffsplit), hunk operations
to the index will now update the diff buffer.
- Similar to vim-fugitive's Gdiffsplit, buffers of a file in the git
index can now be edited. When the buffer is written, it updates the
git index accordingly. Likewise the index buffer can also be reloaded
(via 'edit').
- Moved all diffthis code to a separate module.
Fixes#501
- config.current_line_blame_formatter can now be specified as a format
string.
- changed default of `config.current_line_blame_formatter` to
'<author>, <author_time:%R> - <summary>' which is equivalent to the
previous function default.
- deprecated config.current_line_blame_formatter_opts
Resolves#291
- Added GitSigns*Inline and GitSigns*LnInline to be used with word diff
- GitSigns*LnInline is used for word diff with config.word_diff
- GitSigns*Inline is used for word diff in hunk previews
- Added GitSigns*VirtLn and GitSigns*VirtLnInline to be used with
`config.show_deleted`.
- Define GitSigns highlights conditionally as opposed to only defining
them if certain features are enabled.
- blame_line() now takes a table as it's first argument (instead of a
boolean) with the fields "full" and "ignore_whitespace"
- Added config.current_line_blame_opts.ignore_whitespace
Resolves#400
If installed and enabled (via `config.trouble`; defaults to true if
installed), `:Gitsigns setqflist` and `:Gitsigns seqloclist` will
open Trouble instead of Neovim's built-in quickfix or location list
windows.
Add deprecations to doc.
When fields are now initially deprecated, no warning messages will be
displayed. However if a deprecated field is marked with hard, then a
warning will be issued.
At the beginning of each release cycle, all deprecated fields will be
marked as hard and fields that were already marked as hard will be
removed.
Some git command likes `git checkout -b` do no update .git/index.
Instead watch the git dir itself to capture all git operations.
Renamed config.watch_index -> config.watch_gitdir
Fixes#377
- Fix duplicate items appearing (#370)
- Make setqflist/setloclist async again
- setqflist('all') now also looks in the current working directory
- Automatically open the quickfix/location list on completion
- Make setloclist an alias of setqflist
- Refactor git.tl so now there is a separate 'Repo' object to allows us
to create git objects for a directory.
Fixes#370
- Provide b:gitsigns_blame_line_dict for blame info for current line.
Require config.current_line_blame = true.
- Added config.current_line_blame_opts
- Added config.current_line_blame_opts.virt_text. Can be disabled to
disable virtual text. Useful if you want b:gitsigns_blame_line_dict
but without the blame annotation.
- Moved config.current_line_blame_delay to
config.current_line_blame_opts.delay
- Moved config.current_line_blame_pos to
config.current_line_blame_opts.virt_text_pos
- Added deprecation handling for old options
Resolve#199
Set the quickfix/location list with hunks from either:
- A specific buffer
- All attached buffers
- All modified files for each gitdir of each attached buffer