mirror of
https://github.com/vim-airline/vim-airline.git
synced 2025-12-06 12:14:24 +08:00
define the rest of the extensions.
This commit is contained in:
@@ -65,7 +65,7 @@ function! airline#extensions#whitespace#toggle()
|
||||
endfunction
|
||||
|
||||
function! airline#extensions#whitespace#init(...)
|
||||
let g:airline_parts.whitespace = '%{airline#extensions#whitespace#check()}'
|
||||
call airline#parts#define_function('whitespace', 'airline#extensions#whitespace#check')
|
||||
|
||||
unlet! b:airline_whitespace_check
|
||||
augroup airline_whitespace
|
||||
|
||||
Reference in New Issue
Block a user