basic support for hiding based on win size per part (#200).

This commit is contained in:
Bailey Ling
2013-08-31 12:33:58 -04:00
parent f11f871e39
commit 7e1206469c
6 changed files with 48 additions and 12 deletions
+5
View File
@@ -20,5 +20,10 @@ describe 'parts'
call airline#parts#define_raw('raw', 'bar')
Expect airline#parts#get('raw').raw == 'bar'
end
it 'can define a minwidth'
call airline#parts#define_minwidth('mw', 123)
Expect airline#parts#get('mw').minwidth == 123
end
end