mirror of
https://github.com/vim-airline/vim-airline.git
synced 2025-12-08 21:14:44 +08:00
committed by
Christian Brabandt
parent
76c24d2126
commit
76e42284e9
@@ -55,6 +55,15 @@ describe 'init sections'
|
|||||||
Expect g:airline_section_z =~ '%v'
|
Expect g:airline_section_z =~ '%v'
|
||||||
end
|
end
|
||||||
|
|
||||||
|
it 'section gutter should be blank unless csv extension is installed'
|
||||||
|
" Note: the csv extension uses only the window local variable
|
||||||
|
Expect g:airline_section_gutter =~ '%='
|
||||||
|
end
|
||||||
|
|
||||||
|
it 'section warning should be blank'
|
||||||
|
Expect g:airline_section_warning =~ ''
|
||||||
|
end
|
||||||
|
|
||||||
it 'should not redefine sections already defined'
|
it 'should not redefine sections already defined'
|
||||||
for s in s:sections
|
for s in s:sections
|
||||||
let g:airline_section_{s} = s
|
let g:airline_section_{s} = s
|
||||||
|
|||||||
Reference in New Issue
Block a user