make it possible to declare sections in the vimrc (#204).

This commit is contained in:
Bailey Ling
2013-08-31 17:42:09 -04:00
parent 3b2b224a3b
commit 1b91c71fc9
9 changed files with 19 additions and 11 deletions

View File

@@ -33,5 +33,10 @@ describe 'section'
let s = airline#section#create(['hi'])
Expect s == '%#hlgroup#hello'
end
it 'should parse out a section from the vimrc'
let s = airline#section#create(['whitespace'])
Expect s =~ 'airline#extensions#whitespace#check'
end
end