Andy Stewart
c9595f22e8
Fix bug where custom highlights were lost.
2014-06-04 11:00:53 +02:00
Andy Stewart
c6e5cf49f2
Show sign on first line when line(s) deleted at start of file.
...
This time with silly mistake fixed.
2014-06-02 09:20:51 +02:00
Andy Stewart
d1e66b71f9
Revert "Show sign on first line when line(s) deleted at start of file."
...
Signs aren't shown for deleted lines which aren't at the start of the
file.
This reverts commit 0fd18d66f6 .
2014-05-31 16:57:15 +02:00
Andy Stewart
0fd18d66f6
Show sign on first line when line(s) deleted at start of file.
2014-05-30 17:03:54 +02:00
Chris Faulkner
833b8a439f
Use proper regex when fetching SignColumn colors.
...
The previous regex would incorrectly match null characters in some cases.
2014-05-21 20:47:33 -07:00
Andy Stewart
ceeba75239
Fix independent toggling of signs in sign column and line highlights.
...
Note that line highlighting requires signs to be placed (because the
line highlight is simply an attribute of a sign). If the user doesn't
want to see signs in the sign column, but does want line highlighting,
then we make the signs in the sign column invisible.
If neither the signs in the sign column nor the line highlights are
needed (presumably the user just looks at the hunks stats) then we can
remove all signs, at which point Vim removes the sign column...unless
the "sign column always" option is set.
2014-05-19 15:50:51 +02:00
Andy Stewart
0759c96770
Rename function for clarity.
2014-05-19 14:44:58 +02:00
Christian Wellenbrock
47ffb2e30b
Follow linked highlight groups to find background colors
2014-04-07 13:35:47 +02:00
Christian Wellenbrock
7e7ccea694
Use bg values from SignColumn for GitGutter{Add,Change,Delete}Default
2014-04-06 00:07:06 +02:00
Andy Stewart
bb87232842
Add ability to toggle signs on and off.
2014-01-16 11:32:41 +01:00
Andy Stewart
648281497f
Standardise on .
2014-01-10 10:48:20 +01:00
Andy Stewart
fa582f7863
Only redraw when changing line highlighting.
2014-01-07 10:21:04 +01:00
Andy Stewart
702d27a84f
Autoload.
2013-12-17 11:03:52 +01:00