mirror of
https://github.com/airblade/vim-gitgutter.git
synced 2025-11-08 19:43:47 -05:00
Document the sign column's presence with line highlights.
This commit is contained in:
@@ -74,6 +74,10 @@ And you can turn line highlighting on and off (defaults to off):
|
|||||||
* turn off with `:GitGutterLineHighlightsDisable`
|
* turn off with `:GitGutterLineHighlightsDisable`
|
||||||
* toggle with `:GitGutterLineHighlightsToggle`.
|
* 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
|
#### Hunks
|
||||||
|
|
||||||
|
|||||||
@@ -237,6 +237,9 @@ Add to your |vimrc|
|
|||||||
let g:gitgutter_signs = 0
|
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
|
TO TURN ON LINE HIGHLIGHTING BY DEFAULT
|
||||||
|
|
||||||
Add to your |vimrc|
|
Add to your |vimrc|
|
||||||
|
|||||||
Reference in New Issue
Block a user