I have an ugly orange triangle appearing in the airline bar in my nvim regardless of the theme I use. Take a look at that :
Shocking, isn't it ? Now do you have an idea on how to correct this ?
Vi and Vim Stack Exchange is a question and answer site for people using the vi and Vim families of text editors. It only takes a minute to sign up.Sign up to join this community
The orange section by default should be the warning one:
let g:airline_section_warning (ycm_warning_count, whitespace)
You can find a list of all sections at the end of the 'CUSTOMIZATION' section of the airline help (
It gets filled usually by the whitespace extension which is on by default.
Use the following in you vimrc file to "close" the section. I added the error section too, because it shows on my system so it might on yours in time (if you are using an older version at the moment):
let g:airline_section_warning = '' let g:airline_section_error = ''
This fully disables the section so you won't be seeing anything in it. I think this is what the issue I linked in the comments is about: hiding the section when no information is available and showing it when there is. Currently you seem to get only one of them.
According to Christian Brabandt this is how airline works. He created a solution that requires setting the variable
let g:airline_skip_empty_sections = 1.