mirror of
https://github.com/vim-airline/vim-airline-themes.git
synced 2026-05-17 22:09:34 +08:00
improve documentation for writing extensions, also add helper methods.
This commit is contained in:
@@ -2,8 +2,7 @@
|
||||
" vim: et ts=2 sts=2 sw=2
|
||||
|
||||
function! airline#extensions#syntastic#apply(...)
|
||||
let w:airline_section_warning = get(w:, 'airline_section_warning', '')
|
||||
let w:airline_section_warning = ' %{SyntasticStatuslineFlag()}'
|
||||
call airline#extensions#append_to_section('warning', '%{SyntasticStatuslineFlag()}')
|
||||
endfunction
|
||||
|
||||
function! airline#extensions#syntastic#init(ext)
|
||||
|
||||
Reference in New Issue
Block a user