Document special case of deleted first line(s).

This commit is contained in:
Andy Stewart
2013-03-08 13:29:38 +01:00
parent 3979c4f7b6
commit 3f9cf5a44d
2 changed files with 8 additions and 1 deletions

View File

@@ -166,8 +166,12 @@ a. Why are the colours in the sign column weird?
Your colorscheme is configuring the |hl-SignColumn| highlight group weirdly.
Please see |GitGutterCustomisation| on customising the sign column.
b. Why is no sign shown if I delete the first line(s) in a file?
b. What happens if I also use another plugin which uses signs (e.g. Syntastic)?
vim-gitgutter shows removed lines with a sign on the line above. In this
case there isn't a line above so vim-gitgutter can't show the sign.
c. What happens if I also use another plugin which uses signs (e.g. Syntastic)?
Vim only allows one sign per line. Before adding a sign to a line,
vim-gitgutter checks whether a sign has already been added by somebody else.