Closed davy79 closed 4 years ago
It sounds like the delete signs are being correctly placed, but you can verify there's a sign with the name GitGutterLineRemoved
via:
:echo getbufinfo()[0].signs
I expect it's a colour problem, i.e. the foreground colour of the delete sign is the same as the background colour.
You can see the sign's definition like this:
:sign list GitGutterLineRemoved
It should include texthl=GitGutterDelete
.
You can check the highlight group's colours with:
:highlight GitGutterDelete
When I execute :highlight GitGutterDelete guifg=#ff2222
(or any other rgb value for guifg) the sign changes colour immediately as expected.
Thanks for the feedback!
Indeed I confirmed GitGutterDelete is equal to my background color.
executing :highlight GitGutterDelete guifg=#ff2222
indeed changes the symbol color and it shows up...
putting it in the vimrc file does not help though... I apply the misbehaving theme as an after so it overwrites vimrc settings...
so after I put the :highlight GitGutterDelete guifg=#ff2222
in my after script it works now...
Thanks again for the help! closing the issue
Hi,
I just noticed only "added" and "modified" signs show in the symbol column. The deleted sign does not show although the symbol column is added indicated by my line number column getting wider by 2 chars.
not sure when this behavior started though...
Features: +acl +iconv +tui
let g:gitgutter_sign_removed = '--' let g:gitgutter_sign_removed_first_line = '--' highlight GitGutterDelete guifg=#ff2222
any ideas how to fix this?