Reputation: 1969
I use pathogen as VIM plugin manager, and jelly beans as default colorscheme, I want to define line number color by myself, so I set hi CursorLineNr guifg=yellow
in vimrc, but pathogen will load jelly beans color replace my setting, how to override it.
Upvotes: 0
Views: 708
Reputation: 172788
If you don't want to fork and modify the colorscheme, it's best to install this whenever the colorscheme changes:
:autocmd ColorScheme * hi CursorLineNr guifg=yellow
You could even add a conditional on g:colors_name
and choose different customizations for different colorschemes.
Upvotes: 1