vim-airline/t
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
..
airline.vim fix failing tests 2015-02-27 22:45:12 -05:00
builder.vim fix seperator drawing when tabs are shown. fixes #653. 2014-11-25 21:04:18 -05:00
commands.vim updated travis 2016-01-31 18:15:39 +01:00
extensions_default.vim fix failing tests 2015-02-27 22:45:12 -05:00
highlighter.vim improve performance with accent cache (#326). 2013-11-01 00:58:08 -04:00
init.vim Add spell detection 2016-03-21 23:52:04 -07:00
parts.vim tests for configuring accents directly. 2013-09-15 22:52:42 -04:00
section.vim don't add a second separator if not needed 2016-09-05 20:20:44 +02:00
themes.vim airline#highlighter: s:get_syn: fallback to 'NONE' 2016-02-16 00:44:07 +01:00
util.vim default space back to 32 (#283). 2013-09-30 14:37:02 +00:00