Add g:gitgutter_sign_allow_clobber to control clobbering.

I.e. how gitgutter handles non-gitgutter signs.

See #565, #627.

Co-authored-by: Andy Stewart <boss@airbladesoftware.com>
This commit is contained in:
Dan Aloni
2019-08-10 07:27:13 +01:00
committed by Andy Stewart
parent de200ffdd4
commit 9bf988bd1d
4 changed files with 28 additions and 6 deletions

View File

@@ -242,6 +242,7 @@ You can customise:
* The sign column's colours
* Whether or not the sign column is shown when there aren't any signs (defaults to no)
* How to handle non-gitgutter signs
* The signs' colours and symbols
* Line highlights
* The base of the diff
@@ -286,6 +287,12 @@ else
endif
```
GitGutter will preserve non-gitgutter signs by default. If you don't want gitgutter to worry about this (e.g. if you use a NeoVim with an expanding sign column):
```viml
let g:gitgutter_sign_allow_clobber = 1
```
#### Signs' colours and symbols