Commit Graph

18 Commits

Author SHA1 Message Date
Christian Brabandt
c0f96df97f
Update metadata (copyright)
also remove trailing empty lines in test files
2018-12-15 19:56:30 +01:00
Christian Brabandt
d624a44500
Fix tests for the changed default separators 2017-02-24 22:49:39 +01:00
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
Bailey Ling
e16c36eea1 default space back to 32 (#283). 2013-09-30 14:37:02 +00:00
Bailey Ling
d123e3583a fix parts being undefined when referenced by sections in vimrc (#207). 2013-09-25 22:13:57 -04:00
Bailey Ling
248c9b0e29 restore highlight group with accents for all types of parts. resolves #272. 2013-09-23 15:45:44 +00:00
Bailey Ling
474116461f use __accent to better differentiate between a real group. 2013-09-22 15:20:06 -04:00
Bailey Ling
aa41683342 Merge branch '256' into dev
Conflicts:
	autoload/airline/init.vim
2013-09-22 11:34:35 -04:00
Bailey Ling
948a4178a8 use code 160 for space to fix rendering problems. 2013-09-18 22:23:50 -04:00
Bailey Ling
02aa620a92 correctly inject the accent highlight groups. 2013-09-15 22:47:13 -04:00
Bailey Ling
55f524de77 support for conditional parts. resolves #238. 2013-09-08 19:06:57 -04:00
Bailey Ling
7171a169f3 fix regression with ctrlp statusline not changing. 2013-09-01 19:19:34 +00:00
Bailey Ling
92de8ad160 much smarter handling of separators (#204). 2013-09-01 12:20:54 -04:00
Bailey Ling
69f40d62ee move part declarations back into init. 2013-08-31 22:48:27 -04:00
Bailey Ling
1b91c71fc9 make it possible to declare sections in the vimrc (#204). 2013-08-31 17:42:09 -04:00
Bailey Ling
7e1206469c basic support for hiding based on win size per part (#200). 2013-08-31 12:33:58 -04:00
Bailey Ling
500ecf7cd0 support for prefixing with a highlight group. 2013-08-31 03:26:59 +00:00
Bailey Ling
f5885bf9c2 test creation of sections 2013-08-30 21:15:41 -04:00