Open RobertAudi opened 11 years ago
the theme can not override the indentLine color, I don't know what happened to you.
Well, in my case the theme does override the color of the Conceal
highlighting group, which is also used by indentLine. So I believe you are mistaken when you are stating that the theme cannot override the indentLine color. If you look at my form of the theme, I had to hardcode the default indentLine Conceal
color inside of the theme.
I have tried the base16-vim theme, it can not override the indentLine's color.
I use the solarized theme and see the following behavior:
If you set g:indentLine_color_term
, then indentLine will use that color when you restart vim. Once vim is loaded, if you set the Conceal
color group, it will override the indentLine color. But the Conceal
color group does not automatically override the indentLine color set by the global variable.
If you are having trouble with the Conceal
color group, you should check that it's not being set in any files contained in an /after
folder. Or, in general, if a hi Conceal ctermfg=XXX
is being sourced after indentLine.
I had the same issue. As I can see, indentLine
chooses Conceal
over g:indentLine_color_term
setting if it's lazily loaded.
I have the same problem that setting any color for the indent char has no effect. How to debug? How to fix?
Similar problem for me I believe. g:indentLine_color_term
has no effect on the color of the indent character
Finally found plugin https://github.com/sainnhe/gruvbox-material add setting for indentLine:
so you have to add g:indentLine_color_gui
and g:indentLine_color_term
in your vimrc if you had install colorscheme plugin gruvbox-material
.
I use the base16-vim railscasts theme. It defines a color for the
Conceal
group, which overrides the highlighting thatindentLine
defines. The only way I found to fix that problem is to fork the theme and hardcode the color I want in it.Isn't there a way to prevent the theme from overriding the indent lines color?