mirror of
https://github.com/vim-airline/vim-airline.git
synced 2025-12-06 12:14:24 +08:00
When `g:airline_skip_empty_sections' is set, and a section is considered and after that section comes the alignment separator '%=' than airline would not correctly render the airline_prevgroup_to_airline_curgroup simply because the '%=' marker confuses it about which is actually the previous group. So consider the '%=' marker to be empty as well. The case can be observed, when having set `g:airline_skip_empty_sections' to true and opening a help buffer. Because in that case, airline_section_c will be considered empty, then the alignment separator comes and after that airline will (wrongly) generate a highlighting group `airline_c_to_airline_z`, while it should actually generate `airline_b_to_airline_z`