vim-airline/autoload/airline
Christian Brabandt c0cb03f48b don't add a second separator if not needed
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
2016-09-05 20:20:44 +02:00
..
extensions Do not cache gitgutter values 2016-08-24 21:22:28 +02:00
themes remove all themes from the core repository except for the default. 2016-01-29 22:24:49 -05:00
builder.vim Merge pull request #1161 from chrisbra/1157 2016-05-12 21:42:37 +02:00
debug.vim happy 2016! 2016-01-14 21:38:38 -05:00
extensions.vim add obsession extension 2016-05-30 03:44:39 +08:00
highlighter.vim :AirlineRefresh not work correctly 2016-08-28 14:41:45 +02:00
init.vim Shorten section z in small windows 2016-07-02 10:20:19 +02:00
msdos.vim Better algorightm, to get msdos colors 2016-01-27 20:37:58 +01:00
parts.vim shorten filetype for smaller screens 2016-07-03 21:32:33 +02:00
section.vim don't add a second separator if not needed 2016-09-05 20:20:44 +02:00
themes.vim Revert term highlighting of airline_warning to orange 2016-02-16 23:32:38 +01:00
util.vim refactor shortening code 2016-07-02 10:20:07 +02:00