update documentation.

This commit is contained in:
Bailey Ling
2013-08-28 02:36:12 +00:00
parent bf8fa9af03
commit 6c5672d686
4 changed files with 29 additions and 30 deletions

View File

@@ -28,11 +28,7 @@ let s:filetype_regex_overrides = {}
function! s:check_defined_section(name)
if !exists('w:airline_section_{a:name}')
if g:airline_section_{a:name} == '__'
let w:airline_section_{a:name} = ''
else
let w:airline_section_{a:name} = g:airline_section_{a:name}
endif
let w:airline_section_{a:name} = g:airline_section_{a:name}
endif
endfunction