Skip to content

Commit

Permalink
Document the sign column's presence with line highlights.
Browse files Browse the repository at this point in the history
  • Loading branch information
airblade committed May 20, 2014
1 parent ceeba75 commit 208e301
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.mkd
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
3 changes: 3 additions & 0 deletions doc/gitgutter.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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|
Expand Down

0 comments on commit 208e301

Please sign in to comment.