1
I’m trying to set up some prettier highlighting for Vdebug.
I had a look at the source, and it says I need to target a DbgBreakptLine
(I don’t know what they are called, but it’s the thing you put after hi
).
But if I put:
hi DbgBreakptLine ctermbg=NONE ctermfg=NONE
in my vim color scheme, it does nothing. However, Pasting this into a session has the desired effect. I can only conclude that Vdebug is clobbering my chosen styles by taking precedence somehow. But how? Is it running after my color scheme? I don’t think so, because the first thing my .vimrc does is load pathogen, then selects my color scheme.
Given this, I had a look around the internet for any solutions to plugins overwriting config, but I couldn't find anything useful.
The relevant part of my .vimrc:
execute pathogen#infect()
call pathogen#helptags()
colorscheme maxbucknell
Update
I had a look at this question, and thought I would look at :scrip
, which shows which files are loaded when. Sure enough, plugins are loaded after colors. Ideally I'd like some way of customising this, without changing the plugin, or doing something hacky like putting the command inside .vim/after
.
~/.vim/after
is not "hacky" at all. – romainl – 2014-07-19T21:42:58.843@romainl Is that the best way to do it? Perhaps "hacky" is the wrong word, but it sure doesn't feel elegant. – Max Bucknell – 2014-07-19T21:48:41.767