I'm using vim-syntastic and vim-airline using the solarized color theme.
When syntastic has a warning it displays in black on red, which is barely readable:
After reading the airline help I've tried something like this in my .vimrc:
call airline#parts#define_accent('syntastic', 'yellow')
which seems to have an effect, although 'yellow' is about the only color that is readable and noticeable:
But I have three questions:
I get an error when opening MacVim due to that
callline:$ mvim index.html Error detected while processing /Users/phil/.vimrc: line 304: E15: Invalid expression: 0:How do I prevent that?
I still get a bit of the error color at the right-edge of airline when there's no syntastic error:
How do I prevent that?
Is this the right way to do this?



The answer to (1) is in two parts:
callline, which was causing the error.