mirror of
https://github.com/vim-airline/vim-airline.git
synced 2024-11-22 20:52:25 +08:00
c0cb03f48b
Using let g:airline_section_y = airline#section#create_right(['ffenc','%{strftime("%H:%M")}']) will result in an output string of `utf-8[unix] < < 00:00` This happens, because the function util#prepend() will eventually add an extra separator, if the width is zero. Therefore, when building the string, remember, if the last section added an extra separator and only add one, if there hasn't been added one before. fixes #1220 |
||
---|---|---|
.. | ||
airline.vim | ||
builder.vim | ||
commands.vim | ||
extensions_default.vim | ||
highlighter.vim | ||
init.vim | ||
parts.vim | ||
section.vim | ||
themes.vim | ||
util.vim |