Commit Graph

21 Commits

Author SHA1 Message Date
Andy Stewart
07d7c9d478 Override SignColumn highlight group by default.
Most colorschemes (e.g. solarized) don't give any thought to the
SignColumn highlight group so generally the sign column is ugly.

With this change vim-gitgutter defaults to making the sign column look
like the line number column.

Solarized users no longer need `highlight clear SignColumn` in their
vimrc :)

To stop vim-gitgutter from overriding the SignColumn highlight, add this
to your vimrc:

    let g:gitgutter_override_sign_column_highlight = 0
2015-03-31 16:23:55 +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
Andy Stewart
208e301903 Document the sign column's presence with line highlights. 2014-05-20 10:08:28 +02:00
Andy Stewart
0ca3f7e3cd Add hunk previewing. 2014-03-18 13:50:22 +01:00
Andy Stewart
bb87232842 Add ability to toggle signs on and off. 2014-01-16 11:32:41 +01:00
Andy Stewart
ae81dccb67 Add configuration option to disable key maps.
And add a little documentation.
2014-01-13 11:01:14 +01:00
Andy Stewart
92abcce1ff Stage and revert individual hunks. 2014-01-09 12:14:59 +01:00
Andy Stewart
6f760b077f Fix typo. 2013-12-07 14:01:53 +00:00
Andy Stewart
1b5fe1bf9c Update help text. 2013-08-19 15:25:57 +02:00
Andy Stewart
1a13951fc5 Simplify tradeoff between accuracy and speed.
If the plugin slows down your Vim too much, you can have it run less
often by setting `g:gitgutter_eager = 0`.

This replaces the former options `g:gitgutter_on_bufenter` and
`g:gitgutter_on_focusgained`.
2013-04-17 10:43:45 +02:00
Andy Stewart
5c23cadf57 Allow plugin to bypass any alias for grep.
This is an opt-in configuration.
2013-04-05 11:23:11 +02:00
Andy Stewart
3243987028 Make signs optional (on by default). 2013-03-28 09:36:24 +01:00
Andy Stewart
948a0fb977 Allow configuration of extra arguments for git-diff. 2013-03-20 09:56:45 +01:00
Andy Stewart
e04d719159 Customisable signs' symbols. 2013-03-20 09:29:00 +01:00
Andy Stewart
677dac451d Add opt-out configuration for BufEnter and FocusGained. 2013-03-15 10:53:31 +01:00
Andy Stewart
c48829586e Update signs across all buffers on FocusGained. 2013-03-14 15:41:45 +01:00
Andy Stewart
3f9cf5a44d Document special case of deleted first line(s). 2013-03-08 13:29:38 +01:00
Andy Stewart
3979c4f7b6 Easier customisation. 2013-03-08 13:19:25 +01:00
Bill Turner
b9fbcfb330 Add help documentation. 2013-03-07 15:08:55 +01:00