cadre
cadre copied to clipboard
Ability to change sign characters and colors
Overriding highlighting settings in .vimrc does not seem to work for me when opening Vim.
hi HitSign ctermfg=6 cterm=bold gui=bold guifg=Black
hi MissSign ctermfg=Red cterm=bold gui=bold guifg=Red
hi IgnoredSign ctermfg=6 cterm=bold gui=bold guifg=Black
sign define ignored linehl=IgnoredLine texthl=IgnoredSign text=~
sign define hit linehl=HitLine texthl=HitSign text=+
sign define miss linehl=MissLine texthl=MissSign text=-
It does work when the file is sourced manually. Is there another way to set different highlighting settings? I'm no expert in Vim plugins but looks like without using Vundle, cadre is loaded after .vimrc overriding the custom settings.
At the moment, I just edit the plugin file directly, but I can see how that's not very robust in the face of updates to the plugin itself.
Let me look at e.g. a g:cadreHitHightlight or something.
It might also be simplest to put the vim script in autoload? I'll look at the sequence of those requires, unless someone like @tpope wants to advise.
Future reference: vimrc loads before any plugin. Something like this probably useful: http://vim.wikia.com/wiki/Letting_variable_values_be_overwritten_in_a_script