Show sign on first line when line(s) deleted at start of file.

This time with silly mistake fixed.
This commit is contained in:
Andy Stewart
2014-06-02 09:20:51 +02:00
parent d1e66b71f9
commit c6e5cf49f2
7 changed files with 22 additions and 12 deletions

View File

@@ -270,12 +270,7 @@ 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?
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)?
b. 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.