Document the sign column's presence with line highlights.

This commit is contained in:
Andy Stewart
2014-05-20 10:08:28 +02:00
parent ceeba75239
commit 208e301903
2 changed files with 7 additions and 0 deletions

View File

@@ -74,6 +74,10 @@ And you can turn line highlighting on and off (defaults to off):
* turn off with `:GitGutterLineHighlightsDisable`
* toggle with `:GitGutterLineHighlightsToggle`.
Note that if you have line highlighting on and signs off, you will have an empty sign column more accurately, a sign column with invisible signs. This is because line highlighting requires signs and Vim always shows the sign column even if the signs are invisible.
If you switch off both line highlighting and signs, you won't see the sign column. That is unless you have set `let g:gitgutter_sign_column_always = 1` so it's always there.
#### Hunks

View File

@@ -237,6 +237,9 @@ Add to your |vimrc|
let g:gitgutter_signs = 0
<
Note that the sign column will still be present if you have line highlighting
switched on.
TO TURN ON LINE HIGHLIGHTING BY DEFAULT
Add to your |vimrc|