thawk
45d77ca909
Add 'scriptencoding utf-8' to all scripts
2016-09-24 08:16:30 +08: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
048b24a916
happy 2016!
2016-01-14 21:38:38 -05:00
Bailey Ling
1ca6ffb6d0
happy 2015
...
resolves #692 .
2015-02-13 21:47:43 -05:00
Kevin Ballard
908f031f42
Handle special characters in part conditions
2014-09-22 01:44:23 -07:00
Bailey Ling
baed8ac063
happy 2014
2014-01-19 23:44:44 -05:00
Bailey Ling
99b7cdf334
improve performance with accent cache ( #326 ).
2013-11-01 00:58:08 -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
9d5a1744a1
support multiple accents in the same section ( #203 ).
2013-09-18 21:31:39 -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
92de8ad160
much smarter handling of separators ( #204 ).
2013-09-01 12:20:54 -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
7bcb9b5fff
more compatible test for older vim version.
2013-08-31 03:41:19 +00: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
Bailey Ling
93eb0389b9
move init code into new file, add section.
2013-08-30 21:56:12 +00:00