- 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
When blaming a line on a file, which as the "dos" fileformat
which is also checked in as a "dos" format including the
carriage returns, gitsigns.nvim currently reports
"Not yet commited" caused by an unsucessfull blame call
to git.
This commit fixes that behavior by appending the carriage
return lines again
- 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
It is possible for the buffer to change during the async function. To
avoid this, before applying the extmark, check that the cursor is in the
same position. If it is the extmark should be ok to apply and at the
very least will avoid the `line value outside range` error.
Fixes#312
- 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
plenary.async requires several modules not used by gitsigns which is
inflating the startup time. Instead just require plenary.async.async.
On an M1 Macbook this appears to half the startup time of gitsigns.