If jump next hunk with no count, it move last hunk of below hunks.
v:count step is 0, 2, 3, 4..., so if no count is specified, next hunk is
-1(this is last hunk of below hunks). Because of above reason, I change
to use v:count1 instead of v:count. v:count1 step is 1, 2, 3, 4... .
Closes#40.
Instead of using the sign id as the primary piece of data, store
information on a per-hunk granularity. A hunk has a start/end line as
well as a set of sign ids that have been placed within those lines.
This makes moving to the start of the next/previous hunk, as per the
behavior of the standard `]c`/`[c` bindings, pretty straight forward --
a simple filter to find relevant hunks, and then grab the first sign id.
In certain cases the code that gets triggered by BufDelete would use
the wrong s:path due to a racing problem.
Thanks to @techlivezheng for the feedback.
Closes#30.
Some VCS rely on an external diff tool, because they don't support the
-U0 flag natively. Most of the time that's the standard 'diff' utility.
But fritzophrenic was reporting that even a GNU diff won't always be
installed as 'diff', but e.g. as 'gnudiff' instead.
You can set the external diff tool now.
Closes#29.
This fixes a bug where starting Vim from a directory would produce the
following error:
Error detected while processing BufDelete Auto commands for "*":
E121: Undefined variable: s:path E116: Invalid arguments for function
<SNR>62_stop
People using themes for their terminal emulators that do a lot of
voodoo, could experience sign color problems because of the font being
bold by default.
Thus a new variable was introduced: g:signify_sign_weight.
Fixes#24.