mirror of
https://github.com/vim-airline/vim-airline.git
synced 2026-05-19 23:09:47 +08:00
basic support for hiding based on win size per part (#200).
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user