use -bar when defining commands
-bar allows the user to chain commands after it
This commit is contained in:
parent
f45ecdac15
commit
be2ea5d7be
@ -102,10 +102,10 @@ function! s:airline_theme(...)
|
|||||||
endif
|
endif
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
command! -nargs=? -complete=customlist,<sid>get_airline_themes AirlineTheme call <sid>airline_theme(<f-args>)
|
command! -bar -nargs=? -complete=customlist,<sid>get_airline_themes AirlineTheme call <sid>airline_theme(<f-args>)
|
||||||
command! AirlineToggleWhitespace call airline#extensions#whitespace#toggle()
|
command! -bar AirlineToggleWhitespace call airline#extensions#whitespace#toggle()
|
||||||
command! AirlineToggle call s:airline_toggle()
|
command! -bar AirlineToggle call s:airline_toggle()
|
||||||
command! AirlineRefresh call airline#load_theme() | call airline#update_statusline()
|
command! -bar AirlineRefresh call airline#load_theme() | call airline#update_statusline()
|
||||||
|
|
||||||
call airline#init#bootstrap()
|
call airline#init#bootstrap()
|
||||||
call s:airline_toggle()
|
call s:airline_toggle()
|
||||||
|
Loading…
Reference in New Issue
Block a user