7 ms·
You can achieve that manually with `highlight clear SignColumn` in your colour scheme or ~/.vimrc. I'll (I'm the author) probably make this the default because
by airblade 14y ago
You can achieve that manually with `highlight clear SignColumn` in your colour scheme or ~/.vimrc.
I'll (I'm the author) probably make this the default because it seems quite a common wish.
- prezjordan 14y agoI've added it at the bottom of ~/.vimrc, but for some reason it doesn't work until I explicitly type `highlight clear SignColumn` while editing a document. Any ideas why this could be happening? Great plugin by the way, super handy.
- wollw 14y agoI had the same problem at first. Try putting it after wherever you're loading the plugin itself. edit: Also, thanks airblade. I think I'm going to keep using this.
- wollw 14y agoI experimented a bit more and found if I put it before my "syntax on" and color scheme setup lines it doesn't work, but if I put it after them the fix works. Raticide's comment clued me in.
- elsewhere 14y agoTry hi SignColumn ctermbg=232 guibg=#080808
- chrismcbride 14y agoI had the same problem, I did: au VimEnter * highlight clear SignColumn
- prezjordan 14y agoWorks like a charm, thanks :)
- Raticide 14y agoYou colour scheme is probably overriding it. You might want to edit your colour scheme's script and add it there.
- dmerrick 14y agoI would appreciate this to be the default. Thanks for your work!
- mbillie1 14y agoVery cool... I'm going to keep using this!
- saidajigumi 14y agoAlternatively, using `hi! link SignColumn LineNr` will ensure that styling the user has applied to the more commonly used line numbering column will match the sign column used by vim-gitgutter.
- graywh 14y agoI hate it when plugins try to override my colorscheme, so I would highly discourage adding this to the plugin. To account for colorschemes that don't add colors for SignColumn without angering users, use the `default` keyword without the bang. Some other things to consider: The sign column and line numbers are separated by the fold column. The default colorscheme has SignColumn and FoldColumn the same (Cyan or DarkBlue on Grey) and different from LineNr (Yellow or Brown).
- graywh 14y agoSorry, I was mistaken--the sign column is placed between the fold column and the line numbers.
- saidajigumi 14y agoAFAICT, this was technique advice specifically relevant to the parent post, the ongoing thread, and to improving folks experience with the tool in original post. To the anonymous downvoter: I give up. I have no idea what message you were trying to send.
- graywh 14y agoI'd suggest leaving the highlighting of SignColumn to the user's colorscheme.
- bsg75 14y agoNone of the suggestions work for me. Plugin called via Pathogen - could this be an issue?