mirror of
https://github.com/vim-airline/vim-airline.git
synced 2026-10-13 16:18:54 +08:00
improve documentation for writing extensions, also add helper methods.
This commit is contained in:
1 parent
9ca2aa9a8c
commit
a91dda01df
5 files changed
+49
-37
No files matched your search
@@ -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