Commit Graph

8 Commits

Author SHA1 Message Date
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